InterviewSolution
Saved Bookmarks
| 1. |
What is synchronization in reference to a thread?(a) It’s a process of handling situations when two or more threads need access to a shared resource(b) It’s a process by which many thread are able to access same shared resource simultaneously(c) It’s a process by which a method is able to access many different threads simultaneously(d) It’s a method that allow too many threads to access any information requireThe question was asked in class test.My doubt is from isAlive(), Join() & Thread Synchronization topic in section Multithreading of Java |
|
Answer» Right choice is (a) It’s a PROCESS of handling situations when two or more threads NEED access to a shared resource |
|