MultiThreading Quiz

MultiThreading Quiz

University

15 Qs

quiz-placeholder

Similar activities

Java

Java

University

10 Qs

Android Fundamentals - Day 1: Java

Android Fundamentals - Day 1: Java

University - Professional Development

10 Qs

Threads, Processes, and Programs

Threads, Processes, and Programs

University

20 Qs

Threads and Processes

Threads and Processes

University

20 Qs

Java Prelab-IV

Java Prelab-IV

University

10 Qs

Structure of Java Program

Structure of Java Program

University

10 Qs

JAVA11

JAVA11

University

15 Qs

Java thread - MCQ

Java thread - MCQ

University

18 Qs

MultiThreading Quiz

MultiThreading Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Praveen Kumar Nalli

Used 149+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Execution of a java thread begins on which method call?

Run ()

Start ()

Execute ()

Launch ()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many ways a thread can be created in Java multithreading?

1

2

5

10

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is used to make main thread to wait for all child threads

Join ()

Sleep ()

Wait ()

Stop ()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Default value of a java thread is

0

1

5

10

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If a priority of a java thread is 3 then the default priority of its child thread will be

0

1

5

3

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Daemon thread runs in

BackGround

Foreground

Both

none

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is used to wait for child threads to finish in Java?

Wait ()

Sleep ()

Join ()

isAlive()

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?