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 split return?
Can I declare a class as private?
What is yield () in java?
How to create com object in Java?
How many bits is a boolean?
How do you sort in java?
Is vector ordered in java?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What are data types in programming?
Explain OOPs concept.
Explain the use of sublass in a java program?
What is the longest unicode character?
What is finalize()?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
What are the default and parameterized constructors?