Cognizant Interview Question

Basic of java ,Basic of c