Class functions

Class functions are functions that are defined inside a class and declared using the static keyword.

Only one copy of such functions exist no matter how many objects are instantiated from the class.

Class functions only have direct access to other static members of the same class.  They do not have direct access to instance members of the class.

(Continued on next slide.)