Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
I have little doubt about where class, its methods(static and non-static), instance variables and reference variables are stores in memory(Heap, Premanent Generation in Heap, stack).
What i know is class, methods(static & non-static), static variable are stores in Permanent Generation in Heap. Instance variables and objects are stored in Heap. Method local variables and parameters are stored in Stack.
Correct me if i am missing something !
Thanks!