Pergunta de entrevista da empresa Sun Technologies

Oops concepts, basic java question