Nokia interview question

Basic OOPS Concepts.