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 you call a private data from an inner class?

Answer Posted / ejp

The question is completely meaningless. You can't 'call'
private data at all. You call _methods_.

You can _access_ private data members from anywhere in the
enclosing scope, which includes inner classes.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use static class instead of singleton?

1009


What is io stream in java?

997


What is meant by 'bit masking' in java?

1131


What is java ceil?

989


Is array primitive data type in java?

950


What about features of local inner class?

1024


What is the difference between superclass and subclass?

1103


What is a double vs float?

957


What is meant by null and void?

936


What is another word for methodology?

980


What is difference between iterator and enumeration in java?

955


Is an empty arraylist null?

1054


What do you mean by an object in java?

1091


How many wrapper classes are there in java?

978


What is the gregoriancalendar class in java programming?

986