This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I have a question. I know it is simple but somehow it just does not strike to me. I guess I am too stressed out I have an abstract class that has two methods - one declared abstract [i.e Method1()] and the other that is defined [Method2()]. In my Concrete Class, I have defined Method1() and want to override Method2().I wish to override Method2() as I would like to extend the functionality of this method which was already defined. My question is: While overriding the Method2() how do I call the Method2() of the Abstract Class? The code for the above scenario Could be like this : The code for the Abstract Class : AbstractClass.java
The code for the Concrete Class : ConcClass.java
[ April 26, 2003: Message edited by: Harry D'Souza ]