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

How to access a variable if it is declared as private?

Answer Posted / ravikiran(aptech mumbai)

the variable declared as private can be accessed with in the
same class only

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you sort a string in java?

1021


How do you reverse a list?

1049


In a container there are 5 components. I want to display the all the components names, how will you do that one?

1081


Are functions objects in java?

1127


Explain the difference between a Thread and a Process.

1048


Add a value x to array from index l to r where 0 <= l <= r <= n-1

1132


What is meant by call by reference?

1086


How long will it take to learn java?

1034


What is a concrete classes? Is Java object class is concrete class?

1026


Which is better list or arraylist in java?

907


What is a "pure virtual" member function?

1148


Why singleton class is used in java?

1195


What ide should I use for java?

1089


What is string data type?

1019


Differentiate between class and structure.

1183