CitiusTech interview question

OOPs concept Logical reasoning