Pergunta de entrevista da empresa Amdocs

Easyy question in technical interview on java.... Oops concept