Hexaware Technologies interview question

Basic questions on oops, inheritence, coding question, puzzle, scenario question