string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?
Answer Posted / prashant renge
It is advantage,
because String is standard class,if it is muttable
behaviour is inconsistant.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How do you do a line break in java?
What is space character in java?
Is java free for commercial?
What is a static method in java?
Can we override the overloaded method?
What is overloading and overriding in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
Define class?
Is java jre still free?
What is a singleton class in Java?
Why we use protected in java?
Explain the importance of import keyword in java?
What is the difference between multiple processes and multiple threads?
Explain about doubly linked list
What is indexof?