1.

Which statement correctly defines Interfaces in C#.NET?(a) Interfaces cannot be inherited(b) Interfaces consists of data static in nature and static methods(c) Interfaces consists of only method declaration(d) None of the mentionedThe question was posed to me during an online exam.I would like to ask this question from Interfaces Introduction topic in section Object Oriented Concepts of C#

Answer»

The correct option is (d) NONE of the mentioned

To explain I would SAY: Leaving all OPTIONS only option ‘a’ is correct as interfaces can be inherited i.e inheritance can be performed in CSHARP .net.



Discussion

No Comment Found

Related InterviewSolutions