C# Programming - Interfaces - Discussion

Discussion Forum : Interfaces - General Questions (Q.No. 8)
8.
Which of the following statements are correct about an interface in C#.NET?
  1. A class can implement multiple interfaces.
  2. Structures cannot inherit a class but can implement an interface.
  3. In C#.NET, : is used to signify that a class member implements a specific interface.
  4. An interface can implement multiple classes.
  5. The static attribute can be used with a method that implements an interface declaration.
1, 2, 3
2, 4
3, 5
None of the above.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Anshul jain said:   10 years ago
Any one explain the meaning of 3rd point?

Vitya said:   8 years ago
Class member cannot implement an interface :D Remove the "member" word from the statement, so it will be true.

Post your comments here:

Your comments will be displayed after verification.