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 check/uncheck?
What is strong name assembly?
What is cosole application?
What is an array? Give the syntax for a single and multi-dimensional array?
How do you create partial methods?
What do you mean by directing?
What are managed providers?
What is a singleton unity?
What is type cast in C#?
What is difference between ienumerable and iqueryable in c#?
How do you declare an arraylist?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is a decimal in c#?
Is list passed by reference c#?
What Is The Difference Between The System.array.copyto() And System.array.clone()?