string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?
Answer Posted / vinod kumar
It is an advantage
performance: knowing that a string is immutable makes it
easy to lay it out at construction time — fixed and
unchanging storage requirements
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Does java have extension methods?
List out benefits of object oriented programming language?
What if static is removed from main method?
Why heap memory is called heap?
What are runtime exceptions?
What are the procedures?
What is static and final keyword in java?
Tell us something about different types of casting?
What does microservices mean?
Explain serialization and deserialization in java?
What is unmodifiable list in java?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is a parameter in simple terms?
What is assembly used for?
What sorting algorithm does javascript use?