Given the following definition of classes Outer and Inner, select options that can be inserted individually at //INSERT CODE HERE. (Choose all that apply.)
class Outer { void aMethod() { class Inner { // INSERT CODE HERE } } }
Inner()
{}Inner()
{}Outer()
;Inner()
;print()
{}print()
{}a, b, d, e, f
You can define final static variables in a method local inner class, but you can't define non-final static variables, static methods, or static final methods.
You can define constructors with any access modifier in a local inner class.