Understanding Classes

Classes are important in object-oriented programming because they allow you to group related items as a unit, as well as control their visibility and accessibility to other procedures. Classes can also inherit and reuse code defined in other classes.

In This Section