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

They all must be public. Therefore, to prevent us from
getting the false impression that we have choice to access,
so we are not allowed to specify any accessibility, it's
public by default.

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you describe iuknown interface in short?

1137


What is tpl in c#?

875


Are private members inherited in c#?

949


How do you serialize an object?

1041


What is the difference between returning iqueryable vs ienumerable?

946


What is windows form in c#?

1013


Why do we use virtual methods in c#?

933


Can abstract class have private constructor c#?

932


What is an iqueryable in c#?

904


Why data types are important?

942


Is hashset ordered c#?

948


How are delegates chosen?

870


How Reflection is used and what it's significance ?

914


Is it not possible to store a boolean value as a variable?

845


Why dependency injection is used in c#?

956