Siemens interview question

Prototype Inheritance