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
7 11869
What is java in detail?
Why are lists ordered in java?
Difference between abstract and concrete class ?
What differences exist between iterator and listiterator?
How can I debug the Java security exceptions and AccessControlExceptions?
Can constructor be synchronized?
Does java allow overriding static methods ?
What are different types of expressions?
Why enumeration is faster than iterator?
What does null mean in java?
What is the synonym of string?
What about interrupt() method of thread class ?
What is string example?
How can we make sure main() is the last thread to finish in java program?
What is an abstract class and what is it’s purpose?