String is a immutable objects . it means that string does
not change...........
But it will be chang.........
{
String s="kapil";
String s1="raj";
String s=s1;
then print(.......)
The String has been changed ..
how it is possible and why its called immutable objects
Post New Answer View All Answers
Can an interface extend another interface?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
what is the significance of listiterator in java?
When should I use stringbuffer?
How do you compare two strings lexicographically?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
Why scanner is used in java?
What are the two parts of a conditional statement?
What is the meaning of immutable regarding string?
Which is easier .net or java?
Why java is a platform independent? Explain
What are the types of relation?
What is singleton math?
Name container classes in java programming?
What do you understand by the term wrapper classes?