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 included in core java?
What is the difference between heap and stack memory?
What is the access scope of protected access specifier?
What is boolean example?
What is class and its types?
What are the different data types in java?
What is the use of inner class?
What is the mapping mechanism used by java to identify IDL language?
What do you understand by the bean persistent property?
What is difference between an object and a class?
What is variable in java?
How will you communicate between two applets?
Why are generics used?
What is 16 bits called?
Does a function need a return?