1).what is the difference between below examples
String s="vijay";
String s=new String("vijay");
Answer Posted / ramya
as kiran said in the first answer that the string created
in the heap memory can be changed,is it that the memory in
the heap can be changed.I read it as heap provides a stable
storage.Please clarify.Thanks in advance.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is meant by binding in rmi?
What are the Class Libraries ?
What is the purpose of abstract class?
What is meant by class loader? How many types are there? When will we use them?
What is a nested list?
What is the longest unicode character?
Can we override the overloaded method?
What is character in data type?
What is jpa specification?
What is locale?
What is overloading and overriding in java?
What are the advantages of exception handling?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is the SimpleTimeZone class?
What are the 7 types of characters?