A coroutine is best described as:
- A layout
- A lightweight, suspendable computation that does not block threads
- A database table
- A heavy operating-system thread
Answer
B) A lightweight, suspendable computation that does not block threads
Coroutines suspend instead of blocking, so many can run on few threads.
Computer Science MCQ · More Threading and Publishing Android Applications MCQs · Practise