Class Variables and Methods
[ Home ] [ Up ] [ What is a Class? ] [ What is an Instance? ] [ Class Members ] [ Methods and Overloading ] [ Instance Creation ] [ Instance Destruction ] [ Finalizers ] [ Class Variables and Methods ] [ Wrapper Classes ]

 

Class vs. Instance Variables
Usage
Initialization
Static initializers

 

So far, we've looked at instance variables and methods -- that is, variables and methods associated with a specific instance of a class.

However, it is possible to associate both variables and methods with the class itself.  These are known as class variables and class methods.

This page was last modified on 02 October, 2007