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...

Can we define a variable with the access modifier private
in an interface?

Answer Posted / murugavel

No..Not possible. Interface is only having methods. We can't
declare variables on it. The methods also be a public.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can hashtable have duplicate keys in c#?

896


Why is .net so popular?

959


How do you serialize in c#?

856


Why does my windows application pop up a console window every time I run it?

979


Can a struct inherit from another struct or class in c#?

926


What is streamreader/streamwriter class?

925


What are strings in c#?

942


Is null c# operator?

958


What is expandoobject in c#?

898


What is the use of oops in c#?

911


What are the uses of namespaces?

1017


What is a thread c#?

904


Explain the types of assemblies in .net?

956


What is a private class in c#?

1124


Explain the difference between “as” and “is” operators used in c#?

960