Java Old Paper solution

3rd Semester