Java_Quiz_Part_2

Java_Quiz_Part_2

University

12 Qs

quiz-placeholder

Similar activities

COC (Code Of Challange)

COC (Code Of Challange)

11th Grade - University

15 Qs

Java Basics, operators and variables (CH/PT)

Java Basics, operators and variables (CH/PT)

University

16 Qs

Codean - JavaScript Variablel & Function

Codean - JavaScript Variablel & Function

University

15 Qs

Quiz Meet 3 Mini SC Programing

Quiz Meet 3 Mini SC Programing

University

10 Qs

Operasi Input & Output C++

Operasi Input & Output C++

University

10 Qs

Module 5: Creating Dynamic Web Pages with Scripting

Module 5: Creating Dynamic Web Pages with Scripting

University

15 Qs

Quiz Informatika Genap KLs 7

Quiz Informatika Genap KLs 7

7th Grade - University

15 Qs

Intro to JS: Variables & Values

Intro to JS: Variables & Values

11th Grade - University

8 Qs

Java_Quiz_Part_2

Java_Quiz_Part_2

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Dinesh Kushwaha

Used 1+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?