Why can?t you specify the accessibility modifier for methods
inside the interface?
Answer Posted / kumar vaibhav
Because Interface provides different implementation within calling class.So it should be public.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does async mean in c#?
what is a constructor? What is a destructor?
What is exe file in c#?
What is array formula?
Why reflection is used in c#?
How do you access a constant field declared in a class?
What is the purpose of namespace?
What does private void mean in c#?
How to properly clean up excel interop objects?
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
How to use reflection to call generic method?
What is satellite assembly? And steps to create satellite assembly?
What is the difference between internal and private in c#?
Can we have only “try” block without “catch” block in c#?
What is a console device?