Applying Object-Oriented Principles in Java ProgramsShadowing and Outer.this
In one line: Inside an inner class a simple name resolves to the innermost declaration; ClassName.this names each enclosing object explicitly.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.
Spotted a mistake in this part?