下列选项中,()声明了一个匿名内部类。
A. class Outer {public int num = 10;class Inner {public int num = 20;}}
B. classC{privateintnum=20;publicvoidshow1() {classB{publicvoidshow(){ System.out.println(num);}}}}
C. interface D{void ShowContext();}class B{public void show() {new D(){@Overridepublic void ShowContext() {System.out.println("hello");}};};}
D. 不存在