Java

Java

University

17 Qs

quiz-placeholder

Similar activities

AppWiz round 1

AppWiz round 1

University

20 Qs

Quanta

Quanta

University

20 Qs

Gaming

Gaming

2nd Grade - Professional Development

13 Qs

Java Simple - 1

Java Simple - 1

University

20 Qs

Java

Java

University

15 Qs

MSDS

MSDS

University

20 Qs

SEO Quiz

SEO Quiz

University

15 Qs

execption handling

execption handling

University

17 Qs

Java

Java

Assessment

Quiz

Other

University

Hard

Created by

Gnana G

Used 1+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the process of defining a method in a subclass having same name & type signature as a method in its superclass?

Method overloading

Method overriding

Method hiding

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these keywords can be used to prevent Method overriding?

static

constant

protected

final

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is supported by method overriding in Java?

Abstraction

Encapsulation

Polymorphism

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is multithreaded programming?

It’s a process in which two different processes run simultaneously

It’s a process in which two or more parts of same process run simultaneously

It’s a process in which many different process are able to access same information

It’s a process in which a single process can access information from many sources

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these statements is incorrect?

By multithreading CPU idle time is minimized, and we can take maximum use of it

By multitasking CPU idle time is minimized, and we can take maximum use of it

Two thread in Java can have the same priority

A thread can exist only in two states, running and blocked

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these method is used to implement Runnable interface?

stop()

run()

runThread()

stopThread()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these method is used to begin the execution of a thread?

run()

start()

runThread()

startThread()

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?