public class DiguiDemo {
public static void main(String[] args){
int sum=digui1(4);
System.out.println("sum="+sum);
}
public static int digui1(int i){
if(i==1){
return 1;
}
int t=digui2(i);
return t;
}
public static int digui2(int j){
j--;
System.out.println("j"+j);
return digui1(j);
}
}