Answer: Option [B]
Two synchronized methods cannot invoke on the same object.
Answer: Option [B]
Two synchronized methods cannot invoke on the same object.
Answer: Option [A]
Threads are instances of class java.lang and first you call start() method and after run() method is executed.
Answer: Option [C]
At first start() method called and then run() method is executed to schedule a thread for execution.
Answer: Option [B]
Java threads have a priority. The highest priority of a thread is 10 and lowest priority is 1. The default priority of a java thread is 5.
Answer: Option [A]
A thread becomes not runnable when any of the following conditions satisfied:
(i) If sleep method is invoked
(ii) The thread calls the wait method to satisfy some specific conditions
(iv) The thread is blocking on I/O.
Political Science Mock Test – 42 | Start Test |
History Test – 190 | Start Test |
Quantitative Aptitude Test | Start Test! |
Trigonometry - Mock Test | Start Test! |
Data Interpretation - Mock Test | Start Test! |
General Awareness - Mock Test | Start Test! |
Reasoning Ability - Mock Test | Start Test! |
Englist(Antonyms) Mock Test 1 | Start Test! |
Quantitative Aptitude (Percentage) Mock Test | Start Test! |
Economy Mock Test 1 | Unlock Test! |
Economy Mock Test 2 | Unlock Test! |
Economy Mock Test 3 | Unlock Test! |
Economy Mock Test 4 | Unlock Test! |
Economy Mock Test 5 | Unlock Test! |
Books & Authors - Test 2 | Unlock Test! |