Which of the following is true?
Given the following declarations:
StringBuilder buffer = new StringBuilder(“Testing Testing”);
buffer.setLength(7);
buffer.ensureCapacity(5);
a. buffer has capacity 5.
b. buffer has capacity 31.
c. buffer has content “Testin”.
d. buffer has length 15.
b. buffer has capacity 31.
Computer Science & Information Technology
You might also like to view...
Define encryption. Describe situations when encrypting a database would be beneficial
What will be an ideal response?
Computer Science & Information Technology
Which of the following is a network of the national standards institutes of more than 160 countries?
A) ISO B) NIST C) FIPS D) IEC
Computer Science & Information Technology