Java uses threads to enable the entire environment to be ______.
(A) Symmetric
(B) Asymmetric
(C) Synchronous
(D) Asynchronous
Answer: (D)
Explanation:
Java uses threads to enable the entire environment to be asynchronous. Asynchronous threading is pre-emptive i.e. a thread once start executing a task it can hold it in mid, save the current state and start executing another task (context switching) according to priority and other specified criteria and threading.
So, option (D) is correct.
Quiz of this Question
Data Structures and Algorithms – Self Paced Course
View Details