This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inner class objects on heap?

 
Sriram Chintapalli
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sriram,
Objects in Java are always placed on the garbage collectible heap no matter where they are declared.
Regards,
Sandeep
(SCJP 1.4)
 
Sriram Chintapalli
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks sandeep. guess a lot of us are confused by heap and garbage collectible heap.hehe
-sriram
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic