Dassault Systèmes interview question

base class reference with sub class class object