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
Define delegate?
What is the difference between integer and double?
Explain about multithreading?
Is stringbuilder faster than string concatenation c#?
How do I create multifile assembly?
How long can a string be c#?
What is assembly c#?
Can we inherit two classes in c#?
Describe how a .net application is compiled and executed
Can an abstract class inherit from another abstract class c#?
Why do we need dependency injection in c#?
What is poco c#?
Can you inherit from a static class in c#?
What is the difference between Java and .NET garbage collectors?
Can an interface extend a class c#?