• Post Reply Bookmark Topic Watch Topic
  • New Topic

memory issues  RSS feed

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody, i wanted to know where does the variables which are declared "static" and "final" individually or both as a combination stored in the memory. Is it heap or stack or something else......?
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are stored in method area(OR class area) which is A part of JVM
 
Marshal
Posts: 56605
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a "beginner's" question. Moving.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!