Honeywell Interview Question

Based on college project and oops concept