Concatenating strings
Display Figure 1.
The say method:
- Accepts a single String as an input parameter
- Displays it as shown in Figure 1.
Once we
convert the numeric value that constitutes the coach's width to a String:
- We
have two different strings that we want to be displayed together as shown in
Figure 1.
Those two strings are:
- "My width is "
- "1.982161000000002"