Honeywell interview question

Questions were based on oops concept mainly c++