Marlabs interview question

Encapsulation,Inheritance