Nokia Interview Question

java oops concepts