若有定义 class A{int x,y; static float f

11 查阅

若有定义 class A{int x,y; static float f(int a){ ?} float g(intx1,int x2){ ?}} 及A a1=new A(); 则下列用法中合法的是 ( ) 。

  • A.A.g(3,2)
  • B.A.f(3)
  • C.a1.f(4)
  • D.a1.g(2,5)

参考答案:

ABD

暂无解析