Static
Ownership
Static members and methods are owned by the class itself, not any object.
Accessing
-
You don't need to create an instance or object to access static members.
You can access them through class.
Initialization in program memory
Static members are loaded into program memory along with the class. Even before initializing any objects.
Static stuff
Children
- Accessing Static Members using Objects
- Static Method
- Static Method Can't be overridden
- Static Variable
Backlinks