
Java Quiz

Quiz
•
Computers, Professional Development, Other, Education
•
University - Professional Development
•
Medium
Rameswar Gprec
Used 5+ times
FREE Resource
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 will contain the body of the thread in Java?
Start()
Run()
Main()
Execute()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The life cycle of a thread in java is controlled by
JRE
JDK
JVM
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to get current running thread object?
runningThread()
currentThread()
runnableThread()
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thread priority in Java is?
Integer
Float
Double
Long
6.
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
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q) Execution of a java thread begins on which method call?
Start ()
Run ()
Execute ()
Launch ()
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Computer Programming 2

Quiz
•
University
30 questions
JAVA FUNDAMENTALS

Quiz
•
University
26 questions
JSON Quiz

Quiz
•
University
25 questions
Web Mania - (Round 1)

Quiz
•
University
30 questions
Quiz'O Mania Round 1

Quiz
•
University
25 questions
Neo Coding Round 1 Set 1

Quiz
•
University
28 questions
OOPS Live Quiz

Quiz
•
University
25 questions
OOPs Fundamentals

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade