1).what is the difference between below examples
String s="vijay";
String s=new String("vijay");
Answer Posted / susrhee kanta
am unable to get constant pool and non constant pool?
can you please explain it and send it to my id.
sushreekp@gmail.com
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can singleton class be inherited in java?
How can we access some class in another class in java?
What is ide with example?
Differentiate between stringbuffer and stringbuilder in java.
How many ways can you break a singleton class in java?
Why convert an applet to an application?
What is try-with-resources in java?
What is an interface in java? Explain
What is the difference between actual and formal parameters?
What is command line used for?
When do I need to use reflection feature in java?
Differentiate jar and war files?
What is the difference between the file and randomaccessfile classes?
How many types of methods are there?
What are different data structures in java?