Which of these class is used to create an object whose character sequence is mutable?
A. String()
B. StringBuffer()
C. Both of the mentioned
D. None of the mentioned
Answer:A
Which of these class is used to create an object whose character sequence is mutable?
A. String() B. StringBuffer() C. Both of the mentioned D. None of the mentioned
Explanation: StringBuffer represents growable and writeable character sequence.