previous | start | next

A Class Defining a Type

A type defines both data and operations on that data.

A Java class can be used to define a new type.

Variables can then be defined of that class type.

Each variable can have its own instance value of the class type.



previous | start | next