Interface and abstract class in java

hitesh123's Avatar
in java Abstract class contain one or more abstract method which has to be implemented by sub classes. An abstract class can contain no abstract methods also i.e. abstract class may contain concrete methods. A Java Interface can contain only method declarations and public static final constants and doesn't contain their implementation. The classes which implement the Interface must provide the method definition for all the methods present.
ManzZup's Avatar, Join Date: May 2009
Skilled contributor
is this a question or a statement or both ? :S
guptasandeep's Avatar
This is the difference between the abstract classes and interfaces..