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 stack example?
Can you tell me range of byte?
Explain treeset?
What is difference between adapter class and listener?
What is the instance of an object?
What is the order of arraylist in java?
When we serialize an object does the serialization mechanism saves its references too?
What is the difference between jdk and jre?
Can a class be defined inside an interface?
Can you inherit a constructor java?
When is an object subject to garbage collection?
how come we know the object is no more used in the class?
How many classes can any class inherit java?
What is the difference between super class & sub class?
why an outer class cannot be declared as private?