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
What is java in detail?
What are the 6 functions?
What is the use of a copy constructor?
What do you mean Abstraction in java?
In java how do we copy objects?
Is string is a keyword in java?
What are the supported platforms by java programming language?
Is minecraft java edition free?
how its run?
What are "class access modifiers" in Java?
What is the purpose of file class?
Can a class extend 2 classes in java?
Why does java does not support multiple inheritance? Explain
Explain about anonymous inner classes ?
What is a loop java?