ION Group interview question

SOME logical questions and basic java questions