Intel Corporation Interview Question

C++ encapsulation, inheritance and polymorphism