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 the size of an array?
What happens to a static var that is defined within a method of a class?
Can we declare array without size in java?
Explain public static void main(string args[]).
Can we clone singleton object in java?
Which is a valid identifier?
Is vector ordered in java?
What is the difference between serial and throughput garbage collector?
Why is stringbuffer faster than string?
When do we use hashset over treeset?
What is rule of accessibility in java?
What is try-with-resources in java?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What the difference is between execute, execute Query, execute Update?
How do you convert bytes to character in java?