Answer Posted / vikrant
Once a string object is created no changes can be made to
it. If a string is modified in code a new object will be
created. That is why string is immutable
| Is This Answer Correct ? | 24 Yes | 7 No |
Post New Answer View All Answers
What does isempty () do in java?
How do you do exponents in java?
Is an array a vector?
Is minecraft java edition free?
Give reasons supporting that string is immutable.
What is the purpose of the main method?
Is set sorted in java?
What is bufferedwriter?
Can we use both this () and super () in a constructor?
What is udp in java?
What is the basic difference between string and stringbuffer object?
How can u increase the heap size in the memory?
What are class types in java?
What is the difference between Java and C++?
What is equals method in java?