Envestnet interview question

Java and oops concepts