Given the following declaration:
StringBuilder buf = new StringBuilder() ;
What is the capacity of buf?
A) 0
B) 10
C) 16
D) 20
Correct Answer:
Verified
Q9: The length of a string can be
Q10: Consider the statement below:
StringBuilder sb1 =
Q11: Given the following declarations:
StringBuilder buf;
StringBuilder buf2
Q12: To find the character at a certain
Q13: Consider the statements below:
StringBuilder sb =
Q15: StringBuilder objects can be used in place
Q16: The statement
s1.startsWith("art")
Has the same result as
Q17: Which of the following statements is true?
A)
Q18: String objects are immutable. This means they
Q19: Given the following declarations:
StringBuilder buffer =
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents