Deloitte Interview Question

what is ram rom write java program on factorial