public class MathUtility
extends java.lang.Object
| Constructor and Description |
|---|
MathUtility() |
| Modifier and Type | Method and Description |
|---|---|
static long |
Factorial(int i)
This method returns the factorial of parameter i.
|
static long |
FactorialRatio(int i,
int j)
This method returns the ratio of two factorial factorial of parameter i.
|
public static long Factorial(int i)
i - an integerpublic static long FactorialRatio(int i,
int j)
i - an integer