OOPS Slot D2 Quiz Module5 and 6

OOPS Slot D2 Quiz Module5 and 6

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz !

Quiz !

Professional Development

9 Qs

Quiz 4 (9 April 2021)

Quiz 4 (9 April 2021)

Professional Development

10 Qs

Metrology, GD & T

Metrology, GD & T

Professional Development

15 Qs

IT Literacy Challenge

IT Literacy Challenge

Professional Development

13 Qs

Quiz-4

Quiz-4

Professional Development

10 Qs

Quizizz - Session 24 - Thread

Quizizz - Session 24 - Thread

Professional Development

15 Qs

Java Collections

Java Collections

Professional Development

14 Qs

Talent Next Quiz-5

Talent Next Quiz-5

Professional Development

10 Qs

OOPS Slot D2 Quiz Module5 and 6

OOPS Slot D2 Quiz Module5 and 6

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

mohamed .m

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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?

  • 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

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?