Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   How objects are stored in Java? (http://siteownersforums.com/showthread.php?t=168627)

Shivangi Panwar 04-29-2016 09:22 PM

How objects are stored in Java?
 
How objects are stored in Java?

Kunal 04-29-2016 09:24 PM

In java, each object when created gets a memory space from a heap. When an object is destroyed by a garbage collector, the space allocated to it from the heap is re-allocated to the heap and becomes available for any new objects.


All times are GMT -7. The time now is 08:10 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.