StringBuffer(int capacity) constructor creates empty string buffer with specified capacity as length
Q. Which constructor creates an empty string buffer with the specified capacity as length.- Published on 22 Jul 15a. StringBuffer()
b. StringBuffer(String str)
c. StringBuffer(int capacity)
d. None of the above
ANSWER: StringBuffer(int capacity)