1. what is the difference between Abstract and Interface Classes? 2. when do u go for Abstract and for Interfaces? [ EJFH: Remove the URGENT!!! ] [ April 22, 2004: Message edited by: Ernest Friedman-Hill ]
An interface has only the interfaces to methods - the prototypes for a method call - and none of the implementations (function bodies). An abstract class may have some of the methods actually implemented. Also, in Java, a class can implement any number of interfaces, but may only inherit directly from one class, abstract or not.