Siemens interview question

Asked me about OOPS concepts