Which of the following statements are correct about an interface used in C#.NET? 1. An interface can contain properties, methods and events. 2. The keyword must implement forces implementation of an interface. 3. Interfaces can be overloaded. 4. Interfaces can be implemented by a class or a struct. 5. Enhanced implementations of an interface can be developed without breaking existing code.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

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

1. An interface can contain properties, methods and events.
2. The keyword must implement forces implementation of an interface.
3. Interfaces can be overloaded.
4. Interfaces can be implemented by a class or a struct.
5. Enhanced implementations of an interface can be developed without breaking existing code.

1.1,2

2.1,4,5

3.3,4

4.3 only


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!