Vanilla Networks interview question

Java basics