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
What are the different types of data structures in java?
Is a method a function?
What is palindrome in java?
What are the 4 types of characters?
what is anonymous class in java?
How can we create objects if we make the constructor private ?
What is boolean logic?
Why we used break and continue statement in java?
Explain the different forms of polymorphism?
What is the main function in java?
Can I override protected method in java?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is difference between an object and a class?
How do you remove duplicates in java?
What is string builder in java?