CitiusTech interview question

OOPS concepts and Javascript questions