Defining Classes
Syntax:
class class_name {
data-declarations
constructors
methods }
Constructors are special methods used for instantiating (or creating) objects from a class.
Data declarations are implemented using variable and constant declarations.
Previous slide
Next slide
Back to first slide
View graphic version