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
Can we override private method in java?
What does index mean in java?
What is difference between == equals () and compareto () method?
What is jar?
How are the elements of a gridbaglayout organized in java programming?
How do you format in java?
Why can't we override private static methods?
Where are local variables stored?
What is exception handling in java?
Explain about arraylist?
What are the library functions in java?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
How do you remove spaces in java?
What is the difference between this() and super() in java?
Why is string class considered immutable?