Question d’entretien chez Cognizant

Some basic Java and oops question.