View Single Post
  #2 (permalink)  
Old 12-12-06, 05:08 AM
King Coder King Coder is offline
Community VIP
 
Join Date: Jan 2006
Posts: 703
Thanks: 0
Thanked 0 Times in 0 Posts
polymorphism can be accomplished through the 'virtual' keyword. The virtual keyword allows you to implement a mechanism in different ways.

And yes, you can inherit in C++. You can actually perform multiple inheritance, but it's seldom needed.
__________________
my site
Reply With Quote