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.
I've developed these two classes, they are related by inheritance
when the last line executed in main , i want the "toString()" in the subclass call the "toString()" in the super class
I've tried to put this line "super.toString()" inside the the method in the subclass but it give me syntax error
I'd be grateful if you help me
thanks in advance.
this is main
and this is the GeometricObject class
I Hear I Forget, I See I Remember, I Do I Understand.