运行下列程序,会产生什么结果: ( ) class Outer1{ private int a; void foo(double d,final float f){ String s; final boolean b; class Inner{ void methodInner(){ System.out.println("in the Inner"); } } } public static void main(String args[]) { Outer1 me=new Outer1(); me.foo(123,123); System.out.println("outer"); } }
选项:
A:in the Inner outer
B:outer
C:in the Inner
D:编译不通过
发布时间:2024-05-19 10:22:44