package zhangsan.lisi;
public class FunChongZhai {
static int add(int aNumber,int bNumber){
return aNumber + bNumber;
}
static double add(double aNumber,double bNumber){
return aNumber + bNumber;
}
static int add(int aNumber,int bNumber,int cNumber){
return aNumber + bNumber + cNumber;
}
public static void main(String[]args){
int b = add(1,2);
double c = add(1.1,2.1);
int d = add(1,1,1);
System.out.println("The two int datas add result is\t "+b+"\n"+"The two double datas add result is\t "
+ c +"\n"+"The three int datas add result is\t"+d+"\n");
}
}