1.  Which of the following statements is correct ?


When a class inherits an interface it inherits member definitions as well as its implementations.
An interface cannot contain the signature of an indexer.
Interfaces members are automatically public.
To implement an interface member, the corresponding member in the class must be public as well as static.


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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


True
False
Can't say
None of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

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


Public
Protected
Private
All of the mentioned


Answer

 Option

Access specifier of an interface is either public or none.When no access specifier is specified then only default access specifier is used due to which interface is available only to other members of the package in which it is declared, when declared public it can be used by any code declared anywhere in the class area.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

4.  Which of the following statements is correct about an interface ?


One interface can be implemented in another interface.
An interface can be implemented by multiple classes in the same program.
A class that implements an interface can explicitly implement members of that interface.
The functions declared in an interface have a body.


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

5.  Select the correct statement among the given statements ?


One class could implement only one interface
Properties could be declared inside an interface
Interfaces cannot be inherited
None of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report