What is the main benefit of using threads over processes for multitasking?
A. Threads can run on multiple cores simultaneously
B. Threads share memory space, reducing context-switching overhead and communication costs
C. Threads are more secure
D. Threads are easier to implement
Answer: Option B
Solution (By JKSSB Mock Tests)
Threads within the same process share memory and resources, making context switching and inter-thread communication faster and less resource-intensive.
No comments yet. Be the first to start the discussion!