My Report

C# Interface Test – 1


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which keyword is used for correct implementation of an interface in C#.NET?

2. Choose the statements which makes interface different from classes?

3. Which statement correctly defines Interfaces in C#.NET?

4. Select the correct implementation of the interface which is mentioned below.

interface a1
{
    int fun(int i);
}

5. Which of the following is the correct way of implementing an interface addition by class maths?

6. Which of these can be used to fully abstract a class from its implementation?

7. Which of the following cannot be used to declare an interface correctly?

8. Does C#.NET support partial implementation of interfaces?

9. Access specifiers which can be used for an interface are?

10. A class consists of two interfaces with each interface consisting of three methods. The class had no instance data. Which of the following indicates the correct size of object created from this class?

11. Select the correct statement among the given statements?

12. Which of the following statements correctly define about the implementation of interface?


 

Start practicing “1000 MCQs on C#”, and once you are ready, you can take tests on all topics by attempting our “C# Test Series”.

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.