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
What is the difference between multitasking and multithreading in Java
What are the 2 types of java programs?
If a method is declared as protected, where may the method be accessed in java programming?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Difference between class#getinstance() and new operator ?
What is difference between adapter class and listener?
How can an object be unreferenced?
Where are variables stored?
What does regex mean?
Can a static method be overridden in java?
What is meant by memory leak?
What two classes are used to read data only?
What are predefined functions?
What types of index data structures can you have in java?
Print Vertical traversal of a Binary Tree.