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

What is difference between encapsulation and abstraction in c#?

1009


Why do we use methods in c#?

939


What is a di class?

1135


What is a virtual property. Give an example?

985


Is xamarin free?

897


Why delegates are required?

1016


What is the purpose of private constructor in c#?

1060


What is datareader c#?

968


Illustrate serialization?

1016


What are the three types of operators?

1033


What are the different types of assembly?

1108


How string definitions will prevent escaping on backslashes in C#?

1035


What are interfaces in c#?

1008


What is form feed in c#?

984


Why reflection is used in c#?

981