Nokia Interview Question

OOP related questions and nested for-loop coding