1).what is the difference between below examples
String s="vijay";
String s=new String("vijay");
Answer Posted / info_vijaykumar
Thanks a lot Karun....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what is Marker interface?
What is charat java?
What is the difference between arraylist and hashset in java?
Can a constructor be protected?
What are constructors in java?
Why collection doesn’t extend cloneable and serializable interfaces?
What is Hierarchy of exception?
What is the use of using enum to declare a constant?
What is a default method?
What is the difference between overriding & overloading?
What is a final class ?
Why java is a platform independent? Explain
Explain wait() method of object class ?
What is the difference between equals() and == in java?
What is a heavyweight component?