When a subclass extends a superclass (i.e. inherits from it) In Java terms, that means the subclass inherits (gets) all of the methods in the superclass. In some cases the subclass will override the method in the superclass, which means it will include it's own method replacing or adding to the inherited method.