Subclasses inherit all the components of the parent class.