• 2022-05-28
    中国大学MOOC: public class Test{ public static void main(String[ ] args) { int result =???; System.out.println(result); } public static int operate(double a, int b) { return 10*(int)(a+b); } public static int operate(int a, double b) { return 100*(int)(a+b); } public static int operate(double a, double b) { return 1000*(int)(a+b); }}???处填入( )时,编译程序会出错。
  • 举一反三