Interfaces

Q1: Which of the following statements is correct about an interface used in C#.NET?

A One class can implement only one interface.

B In a program if one class implements an interface then no other class in the same program can implement this interface.

C From two base interfaces a new interface cannot be inherited.

D Properties can be declared inside an interface.

E Interfaces cannot be inherited.

ANS:D - Properties can be declared inside an interface.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.