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?
- 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:
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers