Multiple choice technology programming languages

It is not possible to have an instance of a non-static inner class before any instances of the outer class have been created.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Non-static inner classes are tied to instances of their outer class. You cannot create an inner class instance without first having an outer class instance, as the inner class implicitly holds a reference to its enclosing object.