OOPS Slot D2 Quiz Module5 and 6

OOPS Slot D2 Quiz Module5 and 6

Professional Development

10 Qs

quiz-placeholder

Similar activities

WCF Day-8 Map & Thread

WCF Day-8 Map & Thread

Professional Development

10 Qs

Introduction to Nodejs

Introduction to Nodejs

Professional Development

15 Qs

MS EXCEL QUIZ

MS EXCEL QUIZ

Professional Development

15 Qs

LIQ APIs

LIQ APIs

Professional Development

10 Qs

Quiz for Module2

Quiz for Module2

Professional Development

10 Qs

Collections, JDBC/RDBMS

Collections, JDBC/RDBMS

Professional Development

10 Qs

SWOT

SWOT

University - Professional Development

10 Qs

METROLOGY

METROLOGY

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?