Why can?t you specify the accessibility modifier for
methods inside the interface?
Answer Posted / swapna
They all must be public. Therefore, to prevent us from
getting the false impression that we have choice to access,
so we are not allowed to specify any accessibility, it's
public by default.
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
Can partial class be inherited?
Can we override constructor in c#?
What is serialization and deserialization in c# with example?
What is an iqueryable in c#?
What is predicate c#?
Is datetime a value type in c#?
How do you create empty strings in c#?
What can you do as a .net developer?
Explain static class members.
What is a property in c#?
What is literal control
What is c# used for?
How long does it take to learn c# programming?
What is this keyword in C#?
How long does a loop recorder procedure take?