In order to understand the inner working of AsyncTask.java we have to know about Half Sync/Half Async as AsyncTask is depended on it.
What is Half Sync/Half Async ?
AsyncTask manages a thread pool, from which it pulls the threads to be used by task…