______________________ is used to prevent data from being corrupted by multiple threads by a keyword synchronized to synchronize them and intercommunicate to each other.
A.
Synchronous Threads
B.
Asynchronous Threads
C.
Semaphore
D.
Both A and B
Answer:
Option
C
Explaination:
semaphore? to prevent data from being corrupted by multiple threads by a keyword synchronized to synchronize them and intercommunicate to each other.