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 / hafiz usman majeed

as by default public access is provided in c-sharp.net
classes and interfaces, and we use interfaces for
accompolishing the purpose of multiple inheritence we must
redefine all of the methods of interface in its inherited
class that implements it so all of these methods should be
publically accessible.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give examples for reference types?

994


What are the types of attributes in c#?

953


What is the difference between mobile application and desktop application?

889


What can I create with c#?

917


What is meant by clr?

1003


What tool we have to use to install assembli in gac folder.

902


What are modifiers in c#?

875


Why do we need constructor in c#?

938


Can you create partial delegates and enumerations?

1023


how dot net compiled code will become platform independent?

937


What are the properties of a string class?

1019


What is uint64?

945


Can you drink alcohol with a loop recorder?

924


What method is used to sort the elements of the array in descending order?

960


How much time will it take to learn unity?

938