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
Is java hard to learn?
What is method overloading and method overriding?
What is one third plus one third as a fraction?
What is the java project architecture?
Can we have try without catch block?
Can we sort array in java?
What are the rules for variable declaration?
What is the size of string?
Why main method is called first in java?
Why is the type for real numbers called double?
What is the difference between preemptive scheduling and time slicing?
What are the main uses of the super keyword?
How do you achieve polymorphism in java?
What is default size of arraylist in java?
What is close method? How it's different from Finalize & Dispose?