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
When should I use stringbuffer?
Is nullpointerexception checked or unchecked?
What are java packages? What is the significance of packages?
What do you mean by multithreaded program?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What is use of super keyword in java?
What are computer functions?
How to check if a list is sorted in java?
What is a container in a gui?
How do you do a line break in java?
What are Normalization Rules? Define Normalization?
Does garbage collection occur in permanent generation space in jvm?
What are java methods?
What is array and arraylist in java?
What is the purpose of abstract class?