A subclass needs a constructor if the superclass does not have a default constructor (or has one that is not accessible to the subclass). If the subclass has no constructor at all, the compiler will automatically create a public constructor that simply calls through to the default constructor of the superclass.18 Mar 2014
Read moreCan a subclass have its own method?
A subclass can do more than that; it can define a method that has exactly the same method signature (name and argument types) as a method in its superclass .
Read more