0 votes
in JAVA by
If three threads trying to share a single object at the same time, which condition will arise in this scenario?

a) Time-Lapse

b) Critical situation

c) Race condition

d) Recursion

1 Answer

0 votes
by

(c) Race condition

Reason: If two or more threads are trying to access a common resource at the same time. This situation is known as race condition. It generally occurs during the execution of multi-threaded application. It also refers to a programming bug or issue that occurs when the thread scheduler swaps the threads at any time between the process.

...