Netcracker Technology Interview Question

Core Java Basic question in second round