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.
You might also like to view...
Answer the following questions true (T) or false (F)
1. True/False: OOP refers to an approach to program design and coding that places an emphasis on the objects needed to solve a given problem and the relationships among them. 2. True/False: Object-oriented programming can only be implemented through a Graphical User Interface. 3. True/False: Components of a window are considered objects.
Identify and describe the three elements of the search expression used in the CentOS 7 find command.
What will be an ideal response?
How does the NFS Automounter help to improve the performance and scalability of NFS?
What will be an ideal response?
A(n) ____________________ is a formatted document that contains placeholder text, which you replace with your own text and graphics.
Fill in the blank(s) with the appropriate word(s).