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 / umesh

They all must be public. Therefore, to prevent you from
getting the false impression that you have any freedom of
choice, you are not allowed to specify any accessibility,
it?s public by default.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a child class instance is created, which class constructor is called first - base class or child class?

934


Compare and contrast between the System.Array.CopyTo() and Clone()?

982


What do you mean by default constructor?

1104


Does c# support try-catch-finally blocks?

884


To whom a method is accesssed if it is marked as protected internal ?

1089


What is difference between arraylist and list in c#?

900


Is it true that all c# types derive from a common base class?

1099


What is difference between mutable and immutable in c#?

916


What is the use of properties window?

1001


What is delegates in c# and uses of delegates?

858


Why do we use readonly in c#?

924


What is an int c#?

867


What is dataview c#?

868


What is concrete class in c# with example?

992


What is difference between tostring() vs convert.tostring() vs (string) cast

1056