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 features of java?
How are multiple inheritances done in Java?
What are the important methods of java exception class?
What is the base class of all classes?
what is the major difference between linkedlist and arraylist in java?
What is java command?
What is default size of arraylist in java?
How to sort double array in java?
What do you understand by final value?
Difference between stack and queue?
Write a method that will remove given character from the string?
What is a method signature java?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
What are some alternatives to inheritance?
How does arraylist work in java?