Home Segments Index Top Previous Next

31: Mainline

Objects that describe groups of individuals are called classes. Examples include the Integer, Float, and Fraction classes. Objects that describe individuals are called instances. Examples include 194, which is an instance of the Integer class; 1.41421, which is an instance the Float class; and 2/3, which is an instance of the Fraction class.