CSE MCQs :: JAVA MCQs
- Which of these method can be used to make the main thread to be executed last among all the threads?
- Which of these method is used to find out that a thread is still running or not?
- What is the default value of priority variable MIN_PRIORITY AND MAX_PRIORITY?
- Which of these method waits for the thread to treminate?
- Which of these method is used to explicitly set the priority of a thread?
- What is synchronization in reference to a thread?
- Which of these method is used to implement Runnable interface?
- Which of these interface is implemented by Thread class?
- Which of these method is used to begin the execution of a thread?
- Which of these method waits for the thread to treminate?
A.
It's a process of handling situations when two or more threads need access to a shared resource.
|
B.
Its a process by which many thread are able to access same shared resource simultaneously.
|
C.
Its a process by which a method is able to access many different threads simultaneously.
|
D.
Its a method that allow to many threads to access any information require.
|