1).what is the difference between below examples
String s="vijay";
String s=new String("vijay");
Answer Posted / uday
Hi All,
Here one object is stored in the heap and you said that
you can change that, but bydefault String objects are
immutable(ReadOnly), how can u change it?
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Tell us something about an iterator.
What is the driver class?
What is the meaning of I ++ in java?
What are the difference between composition and inheritance in java?
What is internal variable?
What does super keyword do?
What is anagram word?
What is a parameter in a function?
Explain about complier design(phases)
How we can run a jar file through command prompt in java?
What technique can be employed to compare two strings?
What are thread safe functions?
What is a java applet? What is an interface?
How do you avoid global variables?
What are autoboxing and unboxing? When does it occur?