aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes inner class objects on heap? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "inner class objects on heap?" Watch "inner class objects on heap?" New topic
Author

inner class objects on heap?

Sriram Chintapalli
Ranch Hand

Joined: Dec 16, 2003
Posts: 59
hi all are all objects instantiated in inner classes and all objects of inner classes placed on the (garbage collectible) heap?
thanks,
sriram
Sandeep Achar
Greenhorn

Joined: Sep 26, 2003
Posts: 18
Hi Sriram,
Objects in Java are always placed on the garbage collectible heap no matter where they are declared.
Regards,
Sandeep
(SCJP 1.4)


Regards,<br />Sandeep<br />(SCJP 1.4, SCBCD 1.3)
Sriram Chintapalli
Ranch Hand

Joined: Dec 16, 2003
Posts: 59
thanks sandeep. guess a lot of us are confused by heap and garbage collectible heap.hehe
-sriram
 
Don't get me started about those stupid light bulbs.
 
subject: inner class objects on heap?