Multiple Choice
What would be the results of executing the following code?
StringBuilder str = new StringBuilder(12) ;
Str) append("The cow") ;
Str) append(" jumped over the ") ;
Str) append("moon.") ;
A) The program would crash.
B) str would reference "The cow jump".
C) str would reference "The cow jumped over the ".
D) str would reference "The cow jumped over the moon."
Correct Answer:

Verified
Correct Answer:
Verified
Q13: The wrapper classes in Java are immutable,
Q37: The String class's valueOf method accepts a
Q39: Autoboxing is:<br>A) Java's process of automatically "boxing
Q40: For the following code, how many times
Q42: If your program needs to make a
Q43: Assuming that str is declared as follows:
Q45: Given the following statement, which of the
Q47: What does the following statement do?<br>Double number
Q48: What will be the value of loc
Q49: What is term used for a class