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
What is difference between Enum and Struct?
What is an interface class? Give one example of it
What is the namespace for datatable in c#?
Which are the loop types available in c#?
How many bytes is a long c#?
How big is a 64 bit integer?
Explain the difference between access specifier and access modifier in c#?
Why dataset is used in c#?
What are concrete classes?
What is difference between ilist and list in c#?
Why do we Need of static class in c#?
How many bytes is a char c#?
Is c# an open source language?
What is a event in c#?
What are the return types in c#?