Siemens Interview Question

oops concepts?