Cisco interview question

OOPS and Java