Honeywell interview question

Mainly based on OOPs concepts