Siemens interview question

Oops related concepts polymorphism encapsulation DSA