Specifications
Sun Services
Java™ Programming Language
Module 7, slide 4 of 44
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
The static Keyword
• The static keyword is used as a modifier on variables,
methods, and nested classes.
• The static keyword declares the attribute or method
is associated with the class as a whole rather than any
particular instance of that class.
• Thus static members are often called class members,
such as class attributes or class methods.










