Dassault Systèmes Interview Question

they ask about OOP concept in typescript