0
Question on static variables and function in java
Static members are accessed without objects. Even if object is not created, static members can be accessed. However we know that when object is created, the object members get memory in heap. So when and where do the static members get memory?
1 ответ
0
It is well explained here.
https://stackoverflow.com/questions/8387989/where-are-static-methods-and-static-variables-stored-in-java