Siemens Interview Question

Asked me about OOPS concepts