Why can?t you specify the accessibility modifier for
methods inside the interface?
Answer Posted / kishore anumala
Always the access specifiers for the method in an interface
is public. We cannot implement the methods of interface if
the access specifier is other than public as we will be
left with errors like "members cannot access due to
protection level".
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is c# best for?
What are the types of assembly available
Why do we need reflection in c#?
What are the 2 broad classifications of data types available in c#?
What is a console?
Explain about CTS?
What is literal in c#?
What is inner class in c#?
Is c# strongly typed?
What are virtual classes in c#?
What is assembly and dll in c#?
How does bitwise work?
What is string pool in c#?
How long will it take to learn c sharp?
What is the difference between writeline and write in c#?