Class

In object-oriented programming a class is a programming language construct that contains properties and methods. The properties represent the attributes of an object and the methods represent the actions that an object can perform. A common design pattern is to have a parent class and child classes that specialise the methods of the parent class.