Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
    Bookmark Topic Watch Topic
  • New Topic

Static variables must store ?  RSS feed

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all i had read in a book that static variables lived inside the class .i want to know where this variables are get stored in stack or heap ?

thanks in advance
 
Marshal
Posts: 58345
178
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't ask the same question twice. Please continue discussion here.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!