Thread: OO and U
View Single Post
Old 09-29-2010, 09:26 AM   #52
BlackEleven
Redundant Minister of Redundancy
 
BlackEleven's Avatar
 
Join Date: Apr 2004
Location: Montreal
Exp:
Default

An abstract base class and an interface are similar but not exactly the same. You partially answered your own question, but another difference is that interfaces don't have the concept of private/protected functions.

In my professional experience, interfaces are used far less than polymorphism because you're allowed more flexibility when working with inheritance.
BlackEleven is offline   Reply With Quote