Considering the code above, if we rewrite the InnerClass body in this way: publi
ID: 3576166 • Letter: C
Question
Considering the code above, if we rewrite the InnerClass body in this way: public class InnerClass implements ActionListener {public void actionPerformed(ActionEvent event) {System.out.println("Here an interesting text: " + OuterClass$InnerCLass.interestingText);} Will this code compile and why yes or not? Yes, because the reference OuterClass$lnnerClass is visible to the JVM No, because the reference OuterClass$lnnerClass is not defined in the OuterClass No, because the reference OuterClass$lnnerClass is restricted to the compiler Yes, because the reference OuterClass$lnnerClass is not restricted to the compilerExplanation / Answer
sir where is code of OuterClass
if u want to acess inner class from outer class u have to create reference of outer class
as the question is incomplete i am assuming u haven't create refrence of class
so answer is 2 because reference is not defined