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

What is the advantage of singleton class?

877


What is a reference type c#?

895


Can you instantiate a struct without using a new operator in c#?

893


Is exe is machine dependent?

879


What kind of the information stored inside the assembly?

938


How many types of constructors are there in c#?

900


What is the name of c# compiler?

1075


How many digits is a 32 bit number?

839


What is the difference between string and stringbuilder in c#?

903


What is a delegate? Explain.

887


How do you escape a character?

887


What does out mean c#?

881


Why is c# a good programming language?

915


What does int32 mean in c#?

844


Is string mutable in c#?

813