Siemens interview question

Basic OOPS, 1 practical question