Classes provide a number of very important capabilities:
-
Encapsulation - The purposeful hiding of information, thereby reducing
the amount of details that need to be remembered/communicated among
programmers.
-
A Service View - The ability to characterise an object by the
service it provides, without knowing how it performs its task.
-
Instantiation - The ability to create multiple instances of
an abstraction.