Q:

Why can’t you specify the accessibility modifier for methods inside the interface?

0

Why can’t you specify the accessibility modifier for methods inside the interface?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

In an interface, we have virtual methods that do not have method definitions. All the methods are there to be overridden in the derived class. That’s why they all are public.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C# Interview Questions and Answers,You Need To Know

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are Value types and Reference types in C#?... >>
<< What is difference between “is” and “as” o...