Defining Classes
The syntax for defining a class is:
class class-name {
declarations
constructors
methods
}
The variables, constructors, and methods of a class are generically called members of the class
Previous slide
Next slide
Back to first slide
View graphic version