| Author: RamarajSundaram 16 Apr 2007 | Member Level: Diamond | Rating: Points: 2 |
Interface having fully abstract methods, whereas abstract class can have some concrete methods.
|
| Author: sheetal kanugo 16 Apr 2007 | Member Level: Gold | Rating: Points: 2 |
Hi..
1) Some methods in abstract class are abstract and some has definition, But in interface all methods are abstract.
2) If you are using interface you have use implement all the methods that are in interface, this is not the case with Abstract class.
3) All methods in the interface should be public, but in abstract not necessary..
4) We can achieve multiple inheritance through interface, For abstract we can achieve Multilevel and single inheitance..
|