SAP Interview Question

tell me the factorial series in java.