方法pr声明为
public static void pr ( float[] scores, int n ){ }
声明了三个变量 int[] ary = new[10]; int m=5; int n = 10; 那么下面正确调用pr方法的是(选一项)
A.pr (ary); B.pr (ary,m); C.n = pr (ary,m); D.都不正确
为什么选B?
在方法中用this调用方法可以调用本身的方法吗?
方法调用问题
craw()方法无法调用manage()实体中的方法
方法调用啊
相关分类