欢迎光临
奥鹏作业辅导

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

来源:奥鹏远程教育   日期: 作者:奥鹏作业辅导
可做全部院校网课作业、课程代看、网考、论文辅导!答案请加微信:xx99ttt 或QQ:1514133056

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

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

A.g(3,2)

B.a1.g(2,5)

C.a1.f(4)

D.f(3)

答案:ABD

若有定义 class A{int x,y; static float f(int a){…} float g(int x1,int x2){…}} 及A a1=new A();则下列用法中合法的是( )。历年参考题目如下:

本文标签: 若有 定义 static 下列 用法 
扫描二维码获取答案

热门文章

猜你喜欢