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
What is java string pool?
What is the difference between an inner class and a sub-class?
Is vector synchronized in java?
Java.util.regex consists of which classes?
What is meant by data hiding/encapsulation?
How do you convert int to char in java?
What is floating data type?
What is memory leak and how does java handle it?
Can java object be locked down for exclusive use by a given thread?
What are access specifiers available in java?
What are thread local variables?
What is gui programming?
Can you inherit from an abstract class java?
How many return statement are allowed in a function?
When is an object subject to garbage collection?