A. test( "1", 2); B. test(); C. test(1); D. test(1,"2");
A. 参数列表必须为空 B. 没有返回值 C. 名字应该与类名相同 D. 构造方法可以重载
A. int method(int a,b) {return (a - b);} B. double method(int a, int b){int w; w = a - b;} C. double method(a,b){return b;} D. int method(int a, int b){return a - b;}
A. public int method( ){...} B. public static int method(double y){...} C. void method(double d){...} D. public static method(double a){...}
A. public getSort(float x) B. int getSort(int y) C. double getSort(int x, int y) D. void get(int x, int y)
A. public float sort(float x) B. int sort(int y) C. double sort(int x, int y) D. void sort(double y)
A. 采用不同的形式参数列表 B. 返回值类型不同 C. 调用时用类名或对象名做前缀 D. 参数名不同