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 integer size in java?
What is final access modifier in java?
Which package is used for pattern matching with regular expressions?
Are arrays static in java?
Is intellij better than eclipse?
What are the types of sockets in java?
How to avoid memory leak in java?
What is hashmap in java?
Can you instantiate the math class?
explain different ways of using thread? : Java thread
What are sets in java?
Can you override private or static method in java?
What are different exception types exceptions available in java ?
What is a flag variable?
Can we convert list to set in java?