Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can an object be garbage collected while it is still
reachable?

Answers were Sorted based on User's Feedback



Can an object be garbage collected while it is still reachable?..

Answer / ravikiran(aptech mumbai)

yes...all the garbage ollection things depends on the
garbage collector of JVM

Is This Answer Correct ?    1 Yes 1 No

Can an object be garbage collected while it is still reachable?..

Answer / sudheer

Garbage collector is a low priority thread. We cant order to delete an object. When the object has no references and object which are out of scope will be deleted by the garbage collector to free the memory. So when an object is reachable it cant be garbage collected.

Is This Answer Correct ?    1 Yes 1 No

Can an object be garbage collected while it is still reachable?..

Answer / janet

Once an object is garbage collected, it ceases to exist. It
can no longer become reachable again.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Core Java Interview Questions

What is xslt in java?

0 Answers  


List the interfaces which extends collection interface?

0 Answers  


What data type is a string?

0 Answers  


List primitive java types?

0 Answers  


difference between arraylist and linkedlist otherthan performance

2 Answers   L&T,


Why null interfaces are used in Java?

2 Answers  


Can we print null in java?

0 Answers  


What do you mean by platform independence? What is an interface?

0 Answers  


Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.

0 Answers  


Is stringwriter thread safe?

0 Answers  


Is boolean a data type in java?

0 Answers  


What is static and final keyword in java?

0 Answers  


Categories