Can you inherit multiple interfaces?

Options
- Yes
- No


CORRECT ANSWER : Yes

Discussion Board
Implement word needed to avoid confusion

Can a class implement multiple interfaces ?

is correct question

SP 07-11-2022 11:56 AM

Can you Direct inherit multiple interfaces?

If the question was can you Direct inherit multiple interfaces? then Ans was NO but there is a question can you inherit multiple interfaces? So ans is YES
and the reason is Multiple Interfaces can be implement with in a class and that class can be inherit further but interface can not directly inherit to any class.

Rahul 03-28-2019 01:17 AM

10th tamil

I like this

sheikabdhulla 06-8-2018 12:20 PM

tamil

It us very useful to me.so,Unlike this

sheik abdulla 06-8-2018 12:16 PM

WRONG

No you cannot inherit multiple interfaces, because interfaces cannot be inherited. Interfaces are IMPLEMENTED, not inherited.

Matthew 04-26-2016 02:48 PM

Nope

First caller was correct. Interfaces are implemented, not inherited. There's a technical difference, as interfaces cannot supply implementations, and only implementations can be inherited. (For clarity's sake: if there is no implementation - e.g. in an interface - then there is nothing to inherit. The interface needs to be IMPLEMENTED, i.e. the implementation needs to be supplied.)

Peter-John Lightfoot 09-26-2014 05:51 AM

Not specific enough

The correct terminology is implement, not inherit. Interfaces are implemented so this could qualify as a trick question.

Sal Baki 04-25-2014 11:30 AM

.NET

AS PER OOPS PRINCIPLES WE DONT HAVE MULTIPLE INHERITANCE.WE CANNOT INHERIT MORE THAN ONE CLASS.BCZ THE NAMING COLLISION.TO OVERCOME THIS DIS ADVANTANGE A INTERFACE PROVIDES,WE CAN INHERIT ANY NUMBER OF INTERFACES

adeeb 10-25-2013 05:41 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement