|
-
December 3rd, 2009, 02:52 PM
#4
Re: How to return an object of inherited class from abstract base class?
 Originally Posted by PolishPaul
Thanks,
I was trying to avoid implementing it in each class...
Ahh, but that is how polymorphism works! Each derived class implements their own routine, it is the interface that is standard across the inheritance hierarchy.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|