Multiple choice technology programming languages

The StringBuffer class supports what type of strings?

  1. Mutable (changeable)

  2. Immutable (unchangeable)

  3. Violins and cellos

  4. Rotated and scaled

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

StringBuffer in Java is a mutable sequence of characters, unlike String which is immutable. This means StringBuffer objects can be modified after creation without creating new objects, making them efficient for string manipulation operations.