| Author |
interface B extends A
|
Sameera Abeysinghe
Ranch Hand
Joined: Nov 15, 2004
Posts: 104
|
|
Hi all This is my q We can extend only one class right ? class A class B extends A As for my knowledge we can extend only one interface two right ? interface A interface B extends A But is there a why to extend multiple interfaces ? Please explain with examples !
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
An interface can extend multiple interfaces interface C extends B, A and a class can implement multiple interfaces class D implements B, A Not sure there's anything to explain.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: interface B extends A
|
|
|