adplus-dvertising
frame-decoration

Question

Which of these class is used to create an object whose character sequence is mutable?

a.

String()

b.

StringBuffer()

c.

String() & StringBuffer()

d.

None of the mentioned

Posted under Java Programming

Answer: (b).StringBuffer()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these class is used to create an object whose character sequence is mutable?