
OOPS Slot D2 Quiz Module5 and 6
Authored by mohamed .m
Professional Development
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The program will not compile because it does not implement the run() method.
The program will not compile because it does not contain abstract methods.
The program compiles fine.
None of the above
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
Which method is used to get current running thread object?
runningThread()
currentThread()
runnableThread()
None
4.
MULTIPLE CHOICE QUESTION
1 min • 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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the method used to start a thread execution?
What is the name of the method used to start a thread execution?
resume();
run();
start();
init()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scene graph contains the following component.
UI Controls
Stage
Prism
None of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class is extended to make any JavaFX application?
Scene
Stage
Group
Application
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?