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

Does substring create a new object?

1001


What is the purpose of a transient variable?

1071


What is Applet Stub Interface ?

2496


Compare Mutex and Semaphore in java.

1008


How define set in java?

1085


What 5 doubled?

990


Why spring singleton is not thread safe?

1002


What will be the default values of all the elements of an array defined as an instance variable?

1030


Why java is called not pure object oriented language?

1026


What is ph and buffers?

1006


What a static class can contains?

1154


What are the types of methods in java?

1118


Write code of any action class?

1018


How can a gui component handle its own events in java programming?

1046


Why we cannot override static method?

1067