Think Analytics Interview Question

Basic java questions