There is this bigInterger class in java which can help us work with large integers at ease. I have implementer a large factorial number with this class. Read here :: http://techarraz.com/?p=7