If circular link of two objects, then will it be garbage
collected ?
Answer Posted / dhanunjay
I think not so,because that will be reused allocated memory for both....Here not to waste our memory
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What is difference between adapter class and listener?
What is skeleton and stub? What is the purpose of those?
How do you remove all elements from an arraylist in java?
can I implement my own start() method? : Java thread
What is the difference between yield() and sleep()?
What is module in project?
What is a container in a gui?
What is function and method in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is contractor means and methods?
What is enhanced loop in java?
Explain about wait() method?
What is the differences between c++ and java? Explain
What is static method with example?
How do you achieve polymorphism in java?