Multiple Choice
What will be displayed after the following statements are executed?
StringBuilder strb = new StringBuilder("We have lived in Chicago, Trenton, and Atlanta.") ;
Strb.replace(17, 24, "Tampa") ;
System.out.println(strb) ;
A) We have lived in Tampa, Trenton, and Atlanta.
B) We have lived in Chicago, Trenton, and Tampa.
C) We have lived in Chicago,Tampaon, and Atlanta.
D) We have lived in Chicago, Tampa, and Atlanta.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The _ class is the wrapper class
Q10: Any _ argument passed to the Character
Q13: What are the tokens in the following
Q16: Which of the following is(are) used as
Q17: Which of the following statements is not
Q28: StringBuilder objects are not immutable.
Q37: The String class's valueOf method accepts a
Q39: Which of the following statements will display
Q41: What will be displayed after the following
Q52: A wrapper class is a class that