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
What is the value which is accepted by all data types ?
Can you inherit from a static class in c#?
What will a loop recorder show?
What is difference between ilist and list in c#?
How many bytes is a long c#?
What does exclamation mark mean c#?
What is type safe code?
What do you mean by jagged arrays in c#?
What does console mean c#?
What is the difference between xml documentation tag?
Compare and contrast between the System.Array.CopyTo() and Clone()?
Explain nullable types in c#?
When should I use static in C#?
what are some characteristics of an array?
What is the difference between constants and read-only?