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...

How to re-get an object that is collected by garbage
collector?

Answer Posted / ravikiran(aptech mumbai)

once the object get garbage collected it's no longer
available.so before garbage collected inside the finalize()
method make the object serialze and save it into an output
stream

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the final keyword in java?

1418


what is singleton class in java?

1047


What an i/o filter in java programming?

1091


Why is the singleton pattern considered to be an anti pattern?

881


Is java owned by oracle?

1007


How do you write a scanner class in java?

1013


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

1017


How to run a JAR file through command prompt?

1274


What is a finally block? Is there a case when finally will not execute?

1065


What is a literal coding?

1018


What is the maximum size of array in java?

981


When is the finalize() called? What is the purpose of finalization?

1068


Why do we use return statement?

1030


What is the advantage of functional interface in java 8?

988


What are the differences between graph and tree?

1120