Q) In java multi-threading, a thread can be created by
Java thread - MCQ

Quiz
•
Computers
•
University
•
Hard

Mohamed Ibrahim
Used 309+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Extending Thread class
Implementing Runnable interface
Using both
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) Which method is called internally by Thread start() method?
execute()
run()
launch()
main()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) What is maximum thread priority in Java
10
12
5
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) Which method must be implemented by a Java thread?
run()
execute()
start()
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) Number of threads in below java program is
public class ThreadExtended extends Thread {
public void run() {
System.out.println("\nThread is running now\n");
}
public static void main(String[] args) {
ThreadExtended threadE = new ThreadExtended();
threadE.start();
}
}
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) Execution of a java thread begins on which method call?
Start ()
Run ()
Execute ()
Launch ()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) How many ways a thread can be created in Java multithreading?
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Final Quiz

Quiz
•
University
20 questions
Multithreading in java

Quiz
•
University
20 questions
Quiz PBO SIA

Quiz
•
University
20 questions
JDBC

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
TALENT-NEXT-JAVA-QUIZ1

Quiz
•
University
15 questions
Teste Inicial PSD

Quiz
•
University
20 questions
IPC

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade