Course contentsShow
Java
Lesson 624 of 2,87015. Nested and Inner ClassesPro lesson

Instantiating Inner Classes: The Outer.new Syntax

Understand that inner classes require an outer instance and use outerInstance.new InnerClass() to instantiate.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.