Q:

How to refer to method of nested class?

0

How to refer to method of nested class?


  1. enclosingClassObject.innerClassObject.method();
  2. innerClassObject.method();
  3. method();
  4. depends on where the method is being called

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).depends on where the method is being called

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How many objects can be referenced from same varia... >>
<< Which of the members are referred by this pointer ...