Why does the code work?

Report a typo

The StringBuilder class represents a string that can be modified.

Suppose we have an object of this class and use its methods to modify the string.

final StringBuilder builder = new StringBuilder();
builder.append("123");

Why does this code work correctly?

Select one option from the list
___

Create a free account to access the full topic