InterviewSolution
Saved Bookmarks
| 1. |
How to refer to method of nested class?(a) enclosingClassObject.innerClassObject.method();(b) innerClassObject.method();(c) method();(d) depends on where the method is being calledThis question was posed to me in an online quiz.This question is from Object Reference topic in portion Object of Object Oriented Programming |
|
Answer» The correct option is (d) depends on where the method is being called |
|