Amazon Interview Question

OOPS concept design for an elevator