Cognizant Interview Question

Basic Java programs of Array.