Pregunta de entrevista de Amdocs

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