Thursday, August 27, 2009

Abstract Class vs. Interface

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

1 comment:

  1. Good post. That is the clearest description I have heard.

    ReplyDelete