BlackRock Interview Question

encapsulation and Inheritance in C++.