Cognizant Interview Question

Basics of Java