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?

Answers were Sorted based on User's Feedback



Why can?t you specify the accessibility modifier for methods inside the interface?..

Answer / guest

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 ?    4 Yes 1 No

Why can?t you specify the accessibility modifier for methods inside the interface?..

Answer / kumar vaibhav

Because Interface provides different implementation within calling class.So it should be public.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is difference between dll and exe in c#?

0 Answers  


What is a dynamic assembly?

0 Answers  


Please write a program to display “welcome to bestinterviewquestion.com” in c#?

0 Answers  


Define parsing?

0 Answers  


What is an Interface in C#?

0 Answers   TryTechnicals Pvt Ltd,


What is an indexer in c#?

0 Answers  


how can i display crystalreport in button click? am working with VS2005

1 Answers  


What is variable and its classification?

0 Answers  


What is verbatim string literal in c#?

0 Answers  


What is int32 in c#?

0 Answers  


What is the compiler of c#?

0 Answers  


What is console used for?

0 Answers  


Categories