Shortcut Navigation:

IMyInterface Void Fun1 Quiz

Which of the following statements is correct about the C#.NET code snippet given below? interface IMyInterface{void fun1();int fun2();}class MyClass: IMyInterface{void fun1(){ }int IMyInterface.fun2(){ }}

Which of the following can be declared in an interface?
  1. Properties
  2. Methods
  3. Enumerations
  4. Events
  5. Structures

A class implements two interfaces each containing three methods. The class contains no instance data. Which of the following correctly indicate the size of the object created from this class?

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

Which of the following statements is correct about Interfaces used in C#.NET?

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

Which of the following statements is correct about an interface?

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.

Which of the following is the correct implementation of the interface given below? IMyInterfaceinterface IMyInterface{double MyFun(Single i);}

Which of the following statements is correct?