posted 13 years ago
No, a superclass doesn't need a default constructor. It just needs an accessible constructor. The subclass then needs to call this constructor explicitly in the first line of its own constructors.
You can subclass any class, as long as 1) the class is accessible, 2) the class is non-final and 3) the class has an accessible constructor.
Here's an example of subclassing when there is no default constructor in the superclass: