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 11656
What is classname class in java?
Is a string literal?
Why collection doesn’t extend cloneable and serializable interfaces?
What is variable argument in java?
What does java se mean?
Explain about oops concepts.
If we don’t want some of the fields not to serialize how to do that?
What are the classes of java?
What are the differences between forwarding () method and sendredirect() methods?
What is gc()?
How do you create a first line indent?
Why we do exception handling in java and how many types of exceptions are there?
What is concurrent hashmap and its features?
Do extraneous variables affect validity?
Can we declare array without size in java?