Subex Interview Question

Design a fan using oops concept