1. Computer Science Engineering (CSE)
  2. .NET Programming
  3. Which of the following statements is cor...
Q.

Which of the following statements is correct?

A. When a class inherits an interface it inherits member definitions as well as its implementations.
B. An interface cannot contain the signature of an indexer.
C. Interfaces members are automatically public.
D. To implement an interface member, the corresponding member in the class must be public as well as static.
Answer» C. Interfaces members are automatically public.
View all MCQs in:   .NET Programming

Discussion