NEC Corporation Interview Question

oops concepts