Why can?t you specify the accessibility modifier for methods
inside the interface?
Answer Posted / umesh
They all must be public. Therefore, to prevent you from
getting the false impression that you have any freedom of
choice, you are not allowed to specify any accessibility,
it?s public by default.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to implement singleton design pattern in c#?
What is application c#?
How does split work in c#?
Why c# is called type safe language?
Is it possible to inherit multiple interfaces?
What is static class in C#?
What is strong name assembly?
What is hashtable in c# net with example?
How do I edit a dll file?
What are the steps to make an assembly to public?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
What is interface inheritance in c#?
Difference between abstract classes and interfaces
What is for loop in c#?
What is c sharp used for?