Java Multithreading

Java Multithreading

University

•

30 Qs

quiz-placeholder

Similar activities

Multithreading in java

Multithreading in java

Internet and mobile programming 3

Internet and mobile programming 3

Java Multi-threading

Java Multi-threading

Multi Threading 4

Multi Threading 4

thread

thread

Threads & Concurrency Quiz

Threads & Concurrency Quiz

Unit 2

Unit 2

Java Multithreading

Java Multithreading

Assessment

Quiz

•

Computers

•

University

•

Medium

Created by

A Vijay Kumar

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

30 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?