A class inherits from its direct superclass and direct superinterfaces all the non-private methods (whether abstract or not) of the superclass and superinterfaces that are accessible to code in the class and are neither overridden (�184.108.40.206) nor hidden (�220.127.116.11) by a declaration in the class.
A class method is always invoked without reference to a particular object. An attempt to reference the current object using the keyword this or the keyword super in the body of a class method results in a compile-time error.
Originally posted by Graham Mead:
And have this create an instance of SubClass1 returning it as type SuperClass.