B24 e Solutions interview question

Some Java Technical question