Home Segments Top Top Previous Next

157: Mainline

Public class variables defined in public classes can be evaluated and assigned at any point in a program, so public class variables are said to have universal scope.

The memory set aside for a class variable is never reallocated, so class variables are said to have static extent; that explains why static is the keyword used to mark class variables.