Question
Given non-static classes Outer and Inner.
Inner is declared as an inner class of Outer.
How is an instance of Outer accessed from within the scope of Inner?
- A. this
- B. this.Outer
- C. Outer.this
- D. this.this
C
Note
An instance of Outer is accessed as Outer.this.
PreviousNextRelated