Chapter 2 - Conditionals and Loops
Exercise 1: Calling Methods
The strings
package has a Builder
type that is used to build a long text string out of multiple shorter ones.
Complete the code sample below. The sample contains comments in several places indicating what the code you add should do.
Solution
Output: