Multiple Choice
What would be the results of executing the following code?
StringBuilder str = new StringBuilder("Little Jack
Horner ") ;
Str) append("sat on the ") ;
Str) append("corner") ;
A) The program would crash.
B) str would reference "Little Jack Horner ".
C) str would reference "Little Jac Horner sat on the ".
D) str would reference "Little Jack Horner sat on the corner".
Correct Answer:

Verified
Correct Answer:
Verified
Q29: The no-arg constructor for a StringBuilder object
Q30: The term _ commonly is used to
Q31: The StringBuilder class's insert method allows you
Q32: Each of the numeric wrapper classes has
Q33: In the following code, how many times
Q35: The following statement correctly creates a StringBuilder
Q36: Trying to extract more tokens than exist
Q37: The String class's valueOf method accepts a
Q38: What are the tokens in the following
Q39: Which of the following statements will display