CitiusTech Interview Question

Oops concept Pattern program Logical question