Possible Duplicate:
Interface vs Base class
Interface vs Abstract Class (general OO)
Abstract class vs Interface in Java
So I am learning about interfaces and abstract classes in my programming course. The two topics seem very similar. I understand that they both are related to inheritance, but what is the difference between the two?
An abstract class may contain code in method bodies, which is not allowed in an interface.