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 string length in java?
Why are data types important?
what do you mean by marker interface in java?
Explain about features of local inner class?
What is sortedset in java?
How many techniques can be employed to create a string object?
What are the advantages of autoboxing?
What are checked exceptions?
Why is a string immutable?
What is the class in java?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What are variable names?
Is age a discrete variable?
Is there any difference between nested classes and inner classes?
Write a function for palindrome and factorial and explain?