OOPS Slot D2 Quiz Module5 and 6

OOPS Slot D2 Quiz Module5 and 6

Professional Development

10 Qs

quiz-placeholder

Similar activities

Nodejs: Queues and Background Workers

Nodejs: Queues and Background Workers

Professional Development

10 Qs

Java Quiz

Java Quiz

KG - Professional Development

8 Qs

TalentNext Test Day-13-Core Java Topics

TalentNext Test Day-13-Core Java Topics

Professional Development

10 Qs

BASICS OF JAVA

BASICS OF JAVA

Professional Development

7 Qs

[FAST TRACK] Android quiz week 07 (27.05)

[FAST TRACK] Android quiz week 07 (27.05)

Professional Development

15 Qs

Admisiones

Admisiones

Professional Development

10 Qs

Collections, JDBC/RDBMS

Collections, JDBC/RDBMS

Professional Development

10 Qs

java AWT

java AWT

Professional Development

12 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?