Multiple Choice
Which of the following statements is true?
A) The capacity of a StringBuilder is equal to its length.
B) The capacity of a StringBuilder cannot exceed its length.
C) The length of a StringBuilder cannot exceed its capacity.
D) Both a and b are true.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: Consider the Java segment: <br>String line1 =
Q16: To find the character at a certain
Q17: StringBuilder objects can be used in place
Q18: Given the following declarations: <br>StringBuilder buffer =
Q19: Which of the following is not a
Q21: How many String objects are instantiated by
Q22: Consider the Java segment: <br>String line1 =
Q23: Which of the following creates the string
Q24: Consider the String below: <br>String r =
Q25: Which of the following will create a