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 is the purpose of the enableevents() method?
What is instance means in java?
What is a class object?
Whats the difference between notify() and notifyall()?
Why is the type for real numbers called double?
What are the differences between include directive and include action?
Can we use String with switch case?
Can arraylist contain null values?
What are the new features in java 8?
What is string syntax?
Why is string buffer better than string ?
What is complexity in java?
When do we use synchronized blocks and advantages of using synchronized blocks?
What does localhost mean?
What is nested top-level class?