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 c# best for?

929


What are the types of assembly available

939


Why do we need reflection in c#?

908


What are the 2 broad classifications of data types available in c#?

866


What is a console?

918


Explain about CTS?

943


What is literal in c#?

886


What is inner class in c#?

968


Is c# strongly typed?

837


What are virtual classes in c#?

945


What is assembly and dll in c#?

939


How does bitwise work?

883


What is string pool in c#?

982


How long will it take to learn c sharp?

930


What is the difference between writeline and write in c#?

840