Synechron Interview Question

Java technical