Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement
HR
Current affairs
Engineering
MCA
MBA
Online Test
Videos
Login
Online Practice Test
>
Csharp.NET
« Previous
Next »
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
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
ASP.NET (41)
ASP.NET (16)
ASP.NET (16)
ASP.NET for Freshers (19)
ASP.NET for Experienced (19)
ASP.NET (20)
ASP.NET (20)
ASP.NET (25)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
Dot.Net (100)
.NET Framework (26)
.NET Caching (7)
.NET Remoting and webservices (10)
.NET Security (11)
ADO.NET (10)
C#.NET (25)
VB.NET (33)
DOT.NET (10)
C#.NET freshers (20)
C#.NET freshers (20)
C#.NET experienced (20)
C#.NET (25)
C#.NET (20)
Sharepoint (20)
Sharepoint 2007 (15)
WCF (50)
WPF (45)
Advertisement
▲