Care IO Infotech interview question

very basic questions like equality operators and oops