Finastra Interview Question

Java question related to oops concepts.