CrimsonLogic Interview Question

Related to basics of java