Java Multithreading

Java Multithreading

Professional Development

53 Qs

quiz-placeholder

Similar activities

QUIZ FOR REMEDIAL SEMESTER 1

QUIZ FOR REMEDIAL SEMESTER 1

Professional Development

50 Qs

ICT 11 EMPOWERMENT TECHNOLOGIES

ICT 11 EMPOWERMENT TECHNOLOGIES

Professional Development

50 Qs

Tổng hợp từ vựng

Tổng hợp từ vựng

Professional Development

51 Qs

270-320

270-320

Professional Development

50 Qs

RUTS EIC Hospitality & Tourism

RUTS EIC Hospitality & Tourism

10th Grade - Professional Development

50 Qs

Network Fundamentals Quiz

Network Fundamentals Quiz

Professional Development

52 Qs

11.2.1. Động từ khuyết thiếu cơ bản 2 (can, may, & might)

11.2.1. Động từ khuyết thiếu cơ bản 2 (can, may, & might)

Professional Development

50 Qs

4 Charity for happiness

4 Charity for happiness

Professional Development

50 Qs

Java Multithreading

Java Multithreading

Assessment

Quiz

English

Professional Development

Hard

Created by

ANIL KUMAR

Used 12+ times

FREE Resource

53 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of this method can be used to make the main thread to be executed last among all the threads?

stop()

sleep()

join()

call()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of this method is used to find out that a thread is still running or not?
run()
Alive()
isAlive()
checkRun()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of priority variable MIN_PRIORITY AND MAX_PRIORITY?
0 & 256
0 & 1
1 & 10
1 & 256

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these method waits for the thread to terminate?
sleep()
isAlive()
join()
stop()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these method is used to explicitly set the priority of a thread?
set()
make()
setPriority()
makePriority()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is synchronization in reference to a thread?
It’s a process of handling situations when two or more threads need access to a shared resource
It’s a process by which many thread are able to access same shared resource simultaneously
It’s a process by which a method is able to access many different threads simultaneously
It’s a method that allow too many threads to access any information require

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following Java code?https://gyazo.com/fd4b31bc3f58fa6bdfdbcf959af62ac5

My Thread

Thread[My Thread,5,main]

Compilation Error

Runtime Error

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?