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 11865
Is java same as core java?
What is super in java?
Is there any difference between nested classes and inner classes?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is a generic code?
Are variables stored in ram?
Can we have a method name same as class name in java?
Tell some latest versions in JAVA related areas?
Does unicode support all languages?
Can we serialize singleton class?
Is void a return type?
What is enhanced loop in java?
What is the difference between stringbuffer and stringbuilder?
Differentiate between class and structure.
What is the current version of java?