Class Factorial

java.lang.Object
  |
  +--Factorial

public class Factorial
extends java.lang.Object


Constructor Summary
Factorial()
           
 
Method Summary
static long factorial(int n)
           
static void main(java.lang.String[] args)
           
static void printFactorialExpression(java.io.PrintWriter out, int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factorial

public Factorial()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception

printFactorialExpression

public static void printFactorialExpression(java.io.PrintWriter out,
                                            int n)

factorial

public static long factorial(int n)