FICO Interview Question

Questions were from Java and Oops