Java_Quiz_Part_2

Java_Quiz_Part_2

University

12 Qs

quiz-placeholder

Similar activities

Introduction to the Drone Industry

Introduction to the Drone Industry

10th Grade - University

15 Qs

HCI GOMS quiz

HCI GOMS quiz

University

15 Qs

ViewSonic LCD Training

ViewSonic LCD Training

12th Grade - University

15 Qs

Ice Breaking Informatika

Ice Breaking Informatika

10th Grade - University

10 Qs

Titanic Challenge

Titanic Challenge

University

16 Qs

MS Access

MS Access

University

15 Qs

QUIZ KEJAHATAN DUNIA MAYA

QUIZ KEJAHATAN DUNIA MAYA

University

12 Qs

Data Visualization with Qlik Cloud

Data Visualization with Qlik Cloud

University

10 Qs

Java_Quiz_Part_2

Java_Quiz_Part_2

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Dinesh Kushwaha

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these are selection statements in Java?

if()

for()

break

else

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following Java program?

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of the following Java program?


5

6

14

compilation error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Java program?

1 3 5 7

2 4 6 8

1 3 5 7 9

1 2 3 4 5 6 7 8 9

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these keywords can be used to prevent inheritance of a class?

super

constant

class

final

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a type of polymorphism in Java?

Compile time polymorphism

Execution time polymorphism

Multiple polymorphism

Multilevel polymorphism

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Java program?

5 6 5 6

5 6 5

Runtime error

Compilation error

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?