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
Can java list contain duplicates?
What is runtime polymorphism or dynamic method dispatch?
What are structs in java?
What is jit and its use?
Is java a pure object oriented language?
What is a blocking method in Java?
What methodology can be employed to locate substrings inside a string?
What is canonical name in java?
What is command line argument in java?
Is singleton a bad practice?
Compare java and python.
What does sprintf return?
Why singleton pattern is better than creating singleton class with static instance?
Explain jvm, jre, and jdk?
What is a "pure virtual" member function?