Why can?t you specify the accessibility modifier for
methods inside the interface?
Answer Posted / hafiz usman majeed
as by default public access is provided in c-sharp.net
classes and interfaces, and we use interfaces for
accompolishing the purpose of multiple inheritence we must
redefine all of the methods of interface in its inherited
class that implements it so all of these methods should be
publically accessible.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is static classes?
hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......
Which class does the remote object has to inherit?
What are anonymous functions in c#?
What is cli in c#?
What is the difference between paramaterized constructor and copy constructor?
Can we maintain state in webservice?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
How to force my .net app to run as administrator on windows 7?
What is streamreader/streamwriter class?
What does void mean in c#?
Is string passed by reference in c#?
How are methods overloaded?
What is the difference between as and is operators in c#?
What is a satellite assembly in c#?