This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Memory Allocation for Objects  RSS feed

 
Kaustuv Bhattacharya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope, this is true that, the Class and functions are loaded in the stack memory and objects and variables in the heap memory.
This is the case for normal Java applications.
Is this concept is also applicable for Applets, Servlets, EJBs etc. ???
Please reply ASAP.
Kaustuv
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is more of a General Java question than a Swing question. I'm moving this to Java in General Intermediate.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!