As the backend system needs to process the live data and also the system needs to keep fetching the live data. Both the processing and fetching tasks are implemented in two different classes.
Suppose class A is for fetching live data and class B is …