Given the following declarations:

StringBuilder buf;
StringBuilder buf2 = new StringBuilder();
String c = new String("test");

Which of the following is not a valid StringBuilder constructor?
a. buf = new StringBuilder();
b. buf = new StringBuilder(buf2, 32);
c. buf = new StringBuilder(32);
d. buf = new StringBuilder(c);

b. buf = new StringBuilder(buf2, 32);

Computer Science & Information Technology

You might also like to view...

Compared to Excel spreadsheets, Access tables have ________ capacity

Fill in the blank(s) with correct word

Computer Science & Information Technology

The CONCATENATE function removes extra blank spaces from a string

Indicate whether the statement is true or false

Computer Science & Information Technology