This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
What's the difference (with a simple example code, please) between Abstract Class and Interface? Thanks
posted 14 years ago
Hi, I'm not too sure about this either but I think that the abstract class can include fully defined methods whereas an interface cannot. The interface just lists the method names and signatures that the subclasses must implement.