Multiple choice technology web technology

StringBuffer objects once created can not be modified

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
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.