Java abstract class extending abstract class - do I need to declare abstract methods in 2nd abstract class?
Posted on 2007-11-15
I'm writing some Java classes and I would like to have the following structure:
abstract class submittedForm
abstract class submittedFormType extends submittedForms
class formA extends submittedFormType
A: Is this a valid way to design my code with an abstract class extending an abstract class?
B: If I declare an abstract method in submittedForm, can I wait to implement that method in formA, or do I also need to reference that abstract method in the submittedFormType abstract class as well?