Envestnet interview question

Java basics