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 / swapna

They all must be public. Therefore, to prevent us from
getting the false impression that we have choice to access,
so we are not allowed to specify any accessibility, it's
public by default.

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why to use “finally” block in c#?

1049


Why do we use struct in c#?

932


How to properly clean up excel interop objects?

899


What is the main purpose of linq?

861


What is type class in c#?

941


Can we override static class in c#?

875


Does console.writeline() stop printing when it reaches a null character within a string?

931


What is difference between C# and VB.NET?

1064


What is clr in c#?

816


What is the use of constructor in c# with example?

815


what are some characteristics of an array?

917


what are pointer types in c#

955


list the steps in code compilation in c#?

828


How does aspect oriented programming work?

916


What is string method in c#?

877