KnowledgeBoat Logo
|

Computer Applications

A String object cannot be modified after it is created. (T/F)

Java String Handling

23 Likes

Answer

True

Reason — The string objects of Java are immutable i.e., once created, they cannot be changed. If any change occurs in a string object, then original string remains unchanged and a new string is created with the changed string.

Answered By

20 Likes


Related Questions