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

Explain the hierarchy of java exception classes?

601


What is meant by oops concept in java?

508


Which is better stringbuilder or stringbuffer?

531


What is java used for on a computer?

512


What is enhanced loop in java?

553






What is get () in java?

574


Can string be considered as a keyword?

576


How can constructor chaining be done using this keyword?

591


What is dot operator?

575


What are class members by default?

663


What are different access specifiers in java?

571


How is java hashmap implemented?

557


What do you mean by multithreaded program?

558


Describe the term diamond problem.

577


Can we call the constructor of a class more than once for an object?

635