• 2022-06-09
    不能与该方法构成重载的方法是() public double fun(int x,double y){ return x + y; }
    A: public void fun(int x){ System.out.println("x * x="+(x*x)); }
    B: public void fun(int a, double b){ System.out.println("a +b ="+(a+b)); }
    C: public int fun(int x, int y,int z){ renturn (x+y+z); }
    D: public double fun(double x, int y){ return x * y ; }