How can I make a certain method of a sub-class behave not as in an ancestor class?
1
Expert's answer
2010-09-14T12:20:24-0400
You have to redefine the method. To do this you have to create a method with the same name and parameters in the sub-class, but define a new body. This is called polymorphism.
Comments
Leave a comment