October 2018
Intermediate to advanced
370 pages
9h 15m
English
A class is a blueprint, a description about something. It represents a well-defined idea that explains the existence of an entity. It can be thought of as a template that contains lists of two things: attributes and behaviors. An attribute is the state of a class, while the behavior refers to what a class can perform. Let's take a look at some examples:
A car class can have the following attributes and behaviors:
A person class can have following attributes and behaviors:
Read now
Unlock full access