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
Does a class inherit the constructors of its superclass in java programming?
What are wrapper classes in java?
What is the public field modifier?
How to provide security in java
What is an object in java and how is it created?
Explain implementation and how is it different from conversion?
Which containers use a flowlayout as their default layout in java programming?
Define jre i.e. Java runtime environment?
What is difference between filereader and bufferedreader?
Can a main method be overloaded?
How the metacharacters are different from the ordinary characters?
What is bubble sorting in java?
What is the purpose of encapsulation?
What are different access specifiers in java? Explain
What is the final keyword in java?