StringBuffer objects once created can not be modified

  1. True

  2. False


Correct Option: B
Explanation:

The correct answer is:

B. False

StringBuffer objects in Java can be modified after they are created. StringBuffer is a mutable class that allows for the modification of its content. It provides various methods to append, insert, delete, and modify the character sequence it holds. Therefore, the statement "StringBuffer objects once created can not be modified" is false.

Find more quizzes: