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
Is boolean a wrapper class in java?
Can we write multiple catch blocks under single try block?
Difference between serialization and deserialization in java?
What are the major advantages of internal iteration over external iteration?
What is a nullable field?
Why is whitespace important?
How many threads does a core java have?
What is singleton class in java and how can we make a class singleton?
What is the difference between access specifiers and access modifiers in java?
What are the drawbacks of singleton class?
What is a condition in java?
What is boolean query?
What’s the difference between unit, integration and functional testing?
Is java code slower than native code?
What variables are stored in stack?