Majesco interview question

Basic OOPS Concept and Logical Questions