
Multithreading in java
Authored by Suchismita Rout
Computers
University
Used 476+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many ways a thread can be created in Java multithreading?
1
2
5
10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to make main thread to wait for all child threads
Join ()
Sleep ()
Wait ()
Stop ()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which will contain the body of the thread in Java?
Start()
Run()
Main()
Execute()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The life cycle of a thread in java is controlled by
JRE
JDK
JVM
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to get current running thread object?
runningThread()
currentThread()
runnableThread()
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Synchronized static methods acquire lock on
Class
Object
Interface
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thread priority in Java is?
Integer
Float
Double
Long
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?