Siemens interview question

OOPS concepts