Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Interfaces
Which of the following statements is correct about an interface used in C#.NET?
One class can implement only one interface.
In a program if one class implements an interface then no other class in the same program can implement this interface.
From two base interfaces a new interface cannot be inherited.
Properties can be declared inside an interface.
Interfaces cannot be inherited.
Correct Answer:
Properties can be declared inside an interface.
← Previous Question
Next Question→
More Questions from
Interfaces
Which of the following statements are correct about an interface in C#.NET? A class can implement multiple interfaces. Structures cannot inherit a class but can implement an interface. In C#.NET, : is used to signify that a class member implements a specific interface. An interface can implement multiple classes. The static attribute can be used with a method that implements an interface declaration.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments