In Java, Retrofit requests are executed asynchronously with:
- execute() on the main thread
- call.enqueue(callback)
- startService()
- Thread.sleep()
Answer
B) call.enqueue(callback)
enqueue runs the call in the background and calls back onResponse/onFailure.
Computer Science MCQ · More Lab: Displaying Data from an API MCQs · Practise