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 starvation?
What is matcher in java?
What is java argument list?
What is default exception handling in java?
What are different types of states exist for a thread?
What are different data types?
What is the difference between static (class) method and instance method?
explain different ways of using thread? : Java thread
Explain the difference between throw and throws in java?
What are the 5 types of research methods?
What is java autoboxing?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
Can we use both this () and super () in a constructor?
What is difference between wait and notify in java?
Is null function in java?