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

How the versioning applies to Assemblies or can you explain version numbers?

969


What is a clr (common language runtime)?

844


Explain the Abstract class in c#.net

944


What is a trace and asset? Explain some differences?

1184


What's the difference between system.string and system.text.stringbuilder classes?

975


How does c# achieve polymorphism?

890


Describe the types of comments in c#?

857


What is a satellite assembly in c#?

943


How many variables do you need?

875


Do unused Namespaces in c# affect run-time performance?

978


Why do we use static class in c#?

854


Is stringbuilder faster than string concatenation c#?

865


What is tryparse c#?

889


Explain the role of Garbage collector and its generations?

876


What is difference between association, aggregation and inheritance relationships?

865