MuhammadAdil
asked on
What is importance of Abstract Classes
Hello Experts
What is importace of Abstract Classes
What are adventages to use abstract classes
What is importace of Abstract Classes
What are adventages to use abstract classes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also notice that you can create whatever methods in your derrived classes... like you could make Dog have a fetch method, it will still run through the MakeAnimalSpeak method just fine, but you cant make a MakeAnimalFetch method because the bird doesn't have a fetch method... you could make a MakeDogFetch method and have classes derrive from Dog... like Chow, Doberman...etc run through the method fine as long as you mark the Fetch method as virtual.