Level of stack allowed by java
Does java specify how many level of stack is allowed? or it is machine dependent?
I try this function, it only allows me up to n=6955, n=6966 will cause stack overflow.
public static double fact(double n){
if(n==0) return 1;
}

