suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?
Answer Posted / ravikiran
two objects will be saved in the heap
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the difference between ArrayList and Vector? which one is better in Java
Write a program to show whether a graph is a tree or not using adjacency matrix.
How you can force the garbage collection?
How can an object be unreferenced?
What is serial version uid and its importance in java?
How do you add spaces in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is sorting algorithm in java?
Why enumeration is faster than iterator?
What are the approaches that you will follow for making a program very efficient?
What is string syntax?
How to add menushortcut to menu item?
Can we have multiple catch block for a try block?
Explain about sets?
What is the benefit of using enum to declare a constant?