Multithreading in java

Multithreading in java

University

20 Qs

quiz-placeholder

Similar activities

Machine Learning

Machine Learning

University

20 Qs

Meet ACM

Meet ACM

University

16 Qs

Soft_Dev

Soft_Dev

University

18 Qs

4-2 final QUIZ in ELEC4

4-2 final QUIZ in ELEC4

University

20 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

STS Informatika

STS Informatika

10th Grade - University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Computer and Other Human Inventions

Computer and Other Human Inventions

University

15 Qs

Multithreading in java

Multithreading in java

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Suchismita Rout

Used 476+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers