Search Header Logo

java6

Authored by Karthika J

Other

Professional Development

Used 2+ times

java6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these are types of multitasking?

Process based
Thread based
Process and Thread based
None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thread priority in Java is?

Integer
Float
Double
Long

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following require less resource?

Process
Thread
Process and Thread
None Of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In java multi-threading, a thread can be created by

Extending Thread class
Implementing Runnable interface
Using both
None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to get current running thread object?

runningThread()
currentThread()
runnableThread()
none of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is called internally by Thread start() method?

execute()
run()
launch()
main()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The life cycle of a thread in java is controlled by

JDK
JRE
JVM
None of these

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?