Multi Threading in Java – Objective

This “Core Java Practice Test on Multi Threading” providing set of objective type questions on java Multi Threading to test your theoretical skills and technical skills.


1. When we use Runnable interface to create Thread ?

 
 
 
 

2. In how many ways we can create Thread ?

 
 
 
 

3. Is it mandatory to override run() when we extends Thread class ?

 
 
 
 

4. What is Runnable state ?

 
 
 
 

5. How can we execute different logic from different threads ?

 
 
 
 

6. What is the use of join() method ?

 
 
 
 

7. Can we call run() method directly ?

 
 
 
 

8. Will JVM create any thread implicitly ?

 
 
 
 

9. Does JVM create 2 threads with the same identity ?

 
 
 
 

10. What is the use of sleep() method ?

 
 
 
 

Question 1 of 10

Share this