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 are mutable and immutable types in c#?
What is the use of constructor in c# with example?
What is property in c#?
What are extender provider components? Explain how to use an extender provider in the project.
What is console readkey in vb net?
What are the principles of delegation?
What is out in c#?
Does c# support a variable number of arguments?
Why to use “using” in c#?
What are instance fields in c#?
In which format you can pass the value in the sleep function?
What is the difference between hashtable and dictionary?
Do while loops yes or no c#?
How do I create a .exe file?
Does the variables of a private class-level inherited?