I know you don't learn Java in 48 hours and i wouldn't have posted on this forum if i had time to learn Java. I will be very frank, i am not intered in programming at all. I just wanted this thing done for a small assignment of college.
Anyways, i don't have to explain all this to you. Good Day!