string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?
Answer Posted / chandu
Sting is Immutable.We can make String as mutable in the give ex
String s="Hello";
String s=s1;
String s2;
s2=s1.append("World");
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Where are local variables stored?
What is polymorphism java example?
What is a generic data type?
What is one third plus one third as a fraction?
How many bits is a word?
What is a string token?
In the below example, how many string objects are created?
Is it possible to use string in the switch case?
Why we use multi threading instead of multiprocessing?
What is an iterator java?
Why pass by reference is not possible in java?
What is difference between float and double?
How to use arraylist in java netbeans?
Can a class have a static inner class?
What is covariant return type?