Honeywell interview question

Basic OOPS concepts