Hi!
> Actually java soft has provided an interface with the intention that,
> when we know the method names and we don't know the implementations we
> will write them in an interface.
> when we don't know the implementation of some methods of interface and
> we will put them in abstract class.
> Even an interface can be converted as an abstract class and
> viceversa .
> Then where do interface is getting an EDGE over an abstarct class?
Ingo R. Homann - 26 Oct 2005 12:16 GMT
Hi,
>>Even an interface can be converted as an abstract class and
>>viceversa .
>>Then where do interface is getting an EDGE over an abstarct class?
In short:
The advantage of an interface is that you can implement several
interfaces, but you can only extend one class.
Ciao,
Ingo