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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does async mean in c#?

974


what is a constructor? What is a destructor?

975


What is exe file in c#?

876


What is array formula?

896


Why reflection is used in c#?

934


How do you access a constant field declared in a class?

901


What is the purpose of namespace?

866


What does private void mean in c#?

1075


How to properly clean up excel interop objects?

928


What is the use of base keyword? Tell me a practical example for base keyword’s usage?

910


How to use reflection to call generic method?

899


What is satellite assembly? And steps to create satellite assembly?

993


What is the difference between internal and private in c#?

936


Can we have only “try” block without “catch” block in c#?

862


What is a console device?

898