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

They all must be public. Therefore, to prevent you from
getting the false impression that you have any freedom of
choice, you are not allowed to specify any accessibility,
it?s public by default

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between arraylist and array and in c#?

943


Describe ado.net?

1052


What type of data type conversion happens when the compiler encounters the following code?

934


What are Memory foot print of an exe?

1024


How to implement an object pool in c#.net.

1055


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

907


How do you concatenate in c#?

928


What are callback methods in c#?

929


How do you prevent a class from being inherited?

923


What is jit (just in time)?

981


Explain manifest & metadata in c#.

1011


what is difference between is and as operators in c#?

998


What is deadly diamond problem?

977


What is the difference between ienumerable and enumerator?

910


Explain types of comment in c# with examples

935