Nokia Interview Question

oops concept