Thanks, that looks much better and very OO.
Have one last question though. I assume an abstract class can only 'define' methods and not write their body right? or i might be wrong.
If I am right then I'll have to write doSuperclassTask in both of my subclasses. and it will basically contain the same thing.
If I'm wrong (i hope i am) then this will work great.
I know, I'm forgetting my basic java OO principals here
edit;
just saw that you declared subclasstask as abstract. so methods with keyword 'abstract' wont have a body. others can.
[ December 10, 2007: Message edited by: Anil Kumble ]