static int total; // Declares a class variable called total
static final int maxRows = 100; // Declares a class variable called maxRows that cannot change values.
See also class method, static
public static final double pi=3.14159;
public Boolean keyDown(Event evt, int key);
Valid return types are void and those listed under data type.