Multithreading in java

Multithreading in java

University

20 Qs

quiz-placeholder

Similar activities

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

Java Programming Quiz

Java Programming Quiz

University

17 Qs

coe java 24 june 21 7:30 to 745 pm only

coe java 24 june 21 7:30 to 745 pm only

University

20 Qs

JAVA BootCamp - Day 2

JAVA BootCamp - Day 2

University

20 Qs

Web Development and Programming

Web Development and Programming

University

20 Qs

Thread

Thread

University

20 Qs

JavaScript

JavaScript

3rd Grade - University

20 Qs

Java Basics for PM

Java Basics for PM

University

17 Qs

Multithreading in java

Multithreading in java

Assessment

Quiz

Computers

University

Medium

Created by

Suchismita Rout

Used 476+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?