Multithreading in java

Multithreading in java

University

20 Qs

quiz-placeholder

Similar activities

Arduino ม.2 และ ม.3 ฉบับที่ 2

Arduino ม.2 และ ม.3 ฉบับที่ 2

KG - Professional Development

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Строка CMD

Строка CMD

University

18 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Python Quiz

Python Quiz

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

Create a free account and access millions of resources

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?