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 objects of a class are created if no constructor is defined in the class?
Is vector synchronized in java?
What are the basic control structures?
How many bits is size_t?
what is the difference between yielding and sleeping? : Java thread
What about features of local inner class?
What is the purpose of using break in each case of switch statement?
What are the different access modifiers available in java?
What is struts in java?
What is string :: npos?
what is meant by Garbage collection?
Can you override static methods?
How thread scheduler schedule the task?
How do I start learning java?
Are maps ordered java?