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 are daemon Threads in java?
What is finalize method?
What is singleton math?
Differentiate between == and equals().
What is the functionality of the stub?
Why does java not allow multiple public classes in a java file ?
Write a program in java to find the maximum and minimum value node from a circular linked list.
Can a class have 2 constructors?
How to split arraylist elements in java?
What are heap memory and stack memory and what are memory tables.
What are abstract methods in java?
What is a protected void?
What is object cloning in Java?
What is static keyword?
What is stack example?