Link to home
Start Free TrialLog in
Avatar of Michael Reeve
Michael ReeveFlag for United States of America

asked on

Abstract Method vs Derived Method

Experts,
Up front, my question indirectly (not directly) has to do with some homework I am working on. By answering you are not answering the homework question, rather it just helps me have a understanding of the concepts . That being said...

I am wondering why use an method inside a abstract class thus having the deriving class inherit and provide the implementation for the method, rather than just having the derived class use its own method to perform a necessary task. What are the advantages of placing the method (abstract) in the abstract class? My first thought would be that it would provide consistence for the inheriting class. Any additional thoughts?
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Michael Reeve

ASKER

Thank you for a comprehensive, clearly written answer to my question. Your answer has helped me grasp some basic concepts. Really appreciate it! Thank you.