Why can?t you specify the accessibility modifier for
methods inside the interface?
Answer Posted / kishore anumala
Always the access specifiers for the method in an interface
is public. We cannot implement the methods of interface if
the access specifier is other than public as we will be
left with errors like "members cannot access due to
protection level".
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can hashtable have duplicate keys?
What is datarelation c#?
What do you mean by hashtable c#?
Why we use anonymous methods in c#?
Can constructor be overloaded in c#?
Why do you need boxing in c#?
How are delegates chosen?
What is the difference between ref and out parameters in c#?
What are the 2 broad classifications of fields in c#?
what is IComparable
Which is the base class in c#?
What is indexer c#?
What are types in c#?
What is data set in c#?
Contrast System.String and System.Text.StringBuilder classes?