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 the main purpose of linq?

899


What is using keyword?

913


Explain about c# language.

1059


Explain deadlock?

1007


Define an abstract class?

922


What are async and await?

947


Can constructor be overloaded in c#?

880


What is dynamic dispatch?

973


What is float in unity?

910


What is default boolean value in c#?

970


What is the difference between first and firstordefault?

909


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1947


What is datasource c#?

902


Is c# a backend language?

977


When should we use sealed class in c#?

903