Search Header Logo

quizz - ADJP 04.01.2024

Authored by Vennila A

Computers

University

Used 1+ times

quizz - ADJP 04.01.2024
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

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

a)Extending Thread class

b)Implementing Runnable interface

c)Using both

d)None

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

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

a)execute()

b)run()

c)launch()

d)main()

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

3.What is maximum thread priority in Java

a)10

b)12

c)5

d)8

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

4.What is multithreading in Java? 

a)A programming language for concurrent execution. 

b)A technique to execute multiple programs simultaneously. 

c)A concept of executing multiple threads concurrently within a single program. 

d)A method for parallel processing of data. 

Answer:

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

5.Which class is used to create a thread in Java? 

a)Thread 

b)Runnable 

c)Process 

d)Executor 

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?