GEP Interview Question

Regarding my engineering project Basics of oops