In object oriented programming, subclassing means deriving a new class from an existing superclass that inherits some or all of the parent class code. Inheritance is one of the most powerful features of object-oriented design.