Classes provide two very important capabilities:
-
Encapsulation - The purposeful hiding of information, thereby reducing
the amount of details that need to be remembered/communicated among
programmers.
-
Instantiation - The ability to create multiple instances of
an abstraction.