Why can?t you specify the accessibility modifier for methods
inside the interface?
Answer Posted / guest
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 ? | 4 Yes | 1 No |
Post New Answer View All Answers
Define an array?
Why do we need interfaces in c#?
What are satellite assemblies? How will you get the different language strings?
What is int32 in c#?
What is oledb in c#?
What is the use of getcommandlineargs() method in c#.net?
What is difference between first and firstordefault?
write a c# program add two matrix with input number ?
What is _viewstart cshtml?
Why do we need static class in c#?
What are static and dynamic variables?
Why do canadians say zed?
What is hashmap in c#?
What basic steps are needed to display a simple report in crystal?
Explain about finalize method?