LTM Limited interview question

Basic Oops and coding were asked