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
what are the disadvantages of indexes in oracle?
Can we increase array size dynamically in java?
What is independent and dependent variables in research?
What is a function easy definition?
How do you square a number?
Is array a class in java?
How to make a class or a bean serializable?
Explain jdk, jre and jvm?
What does substring mean?
What is the use of isempty in java?
What is unicode with example?
Explain about interrupt() method of thread class ?
Why java is platform independent? Explain.
What are serialization and deserialization?
Is java hard to learn?