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
When will we use them?
What is meant by 'bit masking' in java?
What is the importance of main method in Java?
Does set allows null in java?
How can we access some class in another class in java?
What are the special characters?
Why java is considered as platform independent?
Describe what a thread-local variable is in java?
Mention a package that is used for linked list class in java.
What is ide with example?
What is strings in java?
What is a void in java?
Is java same as core java?
What is an iterator java?
What is skeleton and stub? What is the purpose of those?