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

write a c# program add two matrix with input number ?

910


What is ado c#?

891


How does a while loop work?

823


What is new method in c#?

872


How do you specify a custom attribute for the entire assembly?

881


How do I create multifile assembly?

873


What is native image generator (ngen.exe)?

1176


Can you change the value of a constant filed after its declaration?

891


My switch statement works differently! Why?

855


Can a static class have a constructor c#?

855


What is private variable?

837


Can the nested class access, the containing class. Give an example?

828


What is constants in c#?

818


What is a singleton unity?

917


What are c# attributes and its significance?

899