Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is an extension method in c#?

1033


How do I create a dbml file?

1034


What is the difference between iqueryable and ienumerable?

1026


What is default access specifier for class in c#?

1084


Tell me the difference between call by value and call by reference.

1016


What are examples of desktop applications?

1017


What is constructor overloading in c#?

1111


What is the default value of object in c#?

968


Can mvc be used for desktop applications?

1019


What is a custom attribute?

947


What is difference between dictionary and hashtable?

1073


What is event delegate in c#?

1132


Describe how a .net application is compiled and executed

975


What is method overriding in c#

1167


What are the namespace level elements?

1049