1.3 Java Class Definitions
Keywords: current

Next: 1.3.1 Defining Classes to Up: 1. From C++ to Previous: 1.2.2 Object Types

#
1.3 Java Class Definitions

In Java, new forms of data are defined by the `class` construct. A class C serves as a template for creating instances of the class and as a basis for defining new classes that extend (enlarge) C.

Subsections

- 1.3.1 Defining Classes to Represent Compound Data
- 1.3.2 Constructors
- 1.3.3 Defining Instance Methods
- 1.3.4 Printing Objects