Basic question re extending classes
If I have a number of classes that all extend class A, and most of the code is in the class A, with only a few different setup routines in the extending classes:
is it best to do it this way,
or better to arrange to have only one instance of class A and have the other classes call methods in class A directly.
I don't know whether all the code in class A is repeated for each extending class.
It is a desktop application.
Any suggestions would be appreciated.