Pregunta de entrevista de Cognizant

OOPS concepts, basic programming in java