suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?
Answer Posted / kvk
two object will be saved in string constant pool
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How do you write a good declaration?
What are java packages? What is the significance of packages?
What is classpath?
How can a gui component handle its own events in java programming?
What is the default execution method in java?
Explain about static imports in java?
What are the benefits of java?
What is difference between string and stringbuffer?
how would you implement a thread pool? : Java thread
What is a Presistent Object?
What is the difference between access specifiers and access modifiers in java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
How do you access command-line arguments within the code?
Is arraylist zero based?
When throw keyword is used?