方法重载 在Java程序中的同一个类中,允许同一方法名的方法存在,只要他们 的返回数据类型或形参类型或形参个数不同即可。 public static void add(int a,int b){ } public static int add(double a,double b,doub