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


Please Help Members By Posting Answers For Below Questions

Which software is used for java programming?

565


If a method is declared as protected, where may the method be accessed?

542


What are kinds of processors?

579


How do you clear a list in java?

608


State the difference between strings and arrays.

610






Explain about sets?

580


What is a priority queue java?

530


What is the intersection and union methods?

559


Why Java is not pure Object Oriented language?

662


What are different type of exceptions in java?

557


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

599


Is namespace same as package in java?

551


Can we write multiple catch blocks under single try block?

579


What are the 5 types of research methods?

597


What is multithreading and its advantages?

586