Answer to Question #631 in Java | JSP | JSF for andy

Question #631
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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS