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
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What does java se mean?
What is an example of a boolean?
What is the final variable?
What is ellipsis in java?
What is the benefit of abstract class?
What is the point of polymorphism java?
what state does a thread enter when it terminates its processing? : Java thread
Explain about doubly linked list
What is difference between add() and addelement() in vector?
Explain thread in java?
How can the checkbox class be used to create a radio button?
What is command line used for?
How can we run a java program without making any object?