What does the term "context switching" refer to in multithreading?
A. The process of joining multiple threads
B. The process of terminating a thread
C. The process of creating a new thread
D. The process of saving and restoring the state of a thread so that it can be executed later
Answer: Option D

Join The Discussion