Interfaces

Q1: 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.

ANS:C - Interfaces members are automatically public.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.