While the differences between abstract classes and interfaces are varied, this is what helps me to remember when to use which:
An interface describes the peripheral abilities of a class, not its central identity.
An abstract class defines the core identity of its descendants.
source
Thursday, August 27, 2009
Subscribe to:
Posts (Atom)