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 / kishore anumala

Always the access specifiers for the method in an interface
is public. We cannot implement the methods of interface if
the access specifier is other than public as we will be
left with errors like "members cannot access due to
protection level".

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is garbage collection? How to force garbage collector to run?

849


Contrast between an interface and abstract class?

927


What is native image generator (ngen.exe)?

1177


What is Implementation inheritance and interface inheritance?

932


Write a program in C# for checking a given number is PRIME or not.

1023


What is reflection c#?

831


what is the difference between convert.tostring() and tostring() functions ?

988


Can you specify an access modifier for an enumeration?

928


What is distribute by in hive?

991


Is datetime value type c#?

825


How big is an int16?

841


In which format you can pass the value in the sleep function?

885


What is default constructor in c#?

864


What is console used for?

949


Are classes passed by reference in c#?

842