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
How do you escape in java?
What will happen to the exception object after exception handling?
What is the primary benefit of encapsulation?
What do you mean by scope of variable?
How to provide security in java
What is a java developer salary?
Can we have a method name same as class name in java?
How do you calculate square roots?
What is the difference between throw and throws keywords?
Does string isempty check for null?
How would you dynamically allocate memory to an array?
Can long be null in java?
Can you make a constructor final in Java?
What are the differences between the constructors and methods?
What two classes are used to read data only?