C# Programming - Interfaces
Exercise : Interfaces - General Questions
- Interfaces - General Questions
6.
Which of the following statements is correct about an interface used in C#.NET?
7.
Which of the following statements is correct about an interface?
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.
9.
Which of the following is the correct implementation of the interface given below?
interface IMyInterface
{
double MyFun(Single i);
}
10.
Which of the following statements is correct?
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers