Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Interface and abstract class in java (http://www.go4expert.com/forums/interface-abstract-class-java-t26997/)

hitesh123 22Oct2011 14:51

Interface and abstract class in java
 
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 23Oct2011 21:22

Re: Interface and abstract class in java
 
is this a question or a statement or both ? :S

guptasandeep 10Dec2011 17:28

Re: Interface and abstract class in java
 
This is the difference between the abstract classes and interfaces..


All times are GMT +5.5. The time now is 03:22.