OpsHub Interview Question

Java oops concepts