Siemens Healthineers interview question

Where do you use virtual functions practically?