Interface and abstract class in java
|
Banned
|
|
| 22Oct2011,14:51 | #1 |
|
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.
|
|
Skilled contributor
|
![]() |
| 23Oct2011,21:22 | #2 |
|
is this a question or a statement or both ? :S
|
|
Banned
|
|
| 10Dec2011,17:28 | #3 |
|
This is the difference between the abstract classes and interfaces..
|

