hi to all. well can you please tell me that why String class
is immutable?
Thanks in advance.
Answer Posted / rohit kumawat
String class actually kept immutable by developers of "Sun
microsytems" because of you use it in desktop application
not for mobile application where memory is short & less to
work
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is unmodifiable list in java?
How many bits is a 64 bit byte?
What is a platform?
If a method is declared as protected, where may the method be accessed?
What are invisible components?.
How do you convert boolean to boolean?
What is meant by object?
What is the exception hierarchy in java?
Explain about interthread communication and how it takes place in java?
what is collatration?
explain the difference between jdk and jvm?
What is :: operator in java?
What are the differences between c++ and java?
What is difference between string and stringbuffer?
What is the difference between reader/writer and inputstream/output stream?