public class MethodOver { public void setVar (int a, int b, float c) { } } Which two overload the setVar method?()
- A、 Private void setVar (int a, float c, int b) {}
- B、 Protected void setVar (int a, int b, float c) {}
- C、 Public int setVar (int a, float c, int b) (return a;)
- D、 Public int setVar (int a, int b, float c) (return a;)
- E、 Protected float setVar (int a, int b, float c) (return c;)
正确答案:A,C
答案解析:有
微信扫一扫手机做题