subclasses in java

Super classes and subclasses – Java Tutorial When you are using superclasses and subclasses, it is important to remember that two constructors execute. The base, or parent, class constructor MUST execute prior to the extended, or child, class constructor. For example: A Base Class public class ABaseClass { // Base constructor that executes first public […]