Factory Method | CodeWithYash