下面( )函数是public void example(){...}的重载函数。
A: public void example( int m){...}
B: public int example(){...}
C: public void example2(){...}
D: public int example ( int m, float f){...}
A: public void example( int m){...}
B: public int example(){...}
C: public void example2(){...}
D: public int example ( int m, float f){...}
举一反三
- 下面哪几个函数是public void example(){...}的重载函数? A: public void example( int m){...} B: public int example(){...} C: public void example2(){...} D: public int example (int m, float f){...}
- 下面( )方法是public void example(){}的重载方法。 A: private String example(){} B: public int example(String str){} C: public void example2(){} D: public int example(int m,float f){}
- 下面那几个函数是public void method(){̷}的重载函数? A: public void method( int m){} B: public int method(){} C: public void method2(){} D: public int method(int m,float f ){}
- }的重载函数? A: A public void method( int m){...} B: B public int method(){...} C: C public void method2(){...} D: D public int method(int m,float E: f ){...}
- 下面哪个函数是public void aMethod(){...}的重载函数?( ) A: void aMethod( ){...} B: public int aMethod(){...} C: public void aMethod ( ){...} D: public int aMethod ( int m){...}