JAVA QUIZ

JAVA QUIZ

1st - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Java Arithmetic Operations

Java Arithmetic Operations

11th Grade

10 Qs

Interrupts and Exceptions

Interrupts and Exceptions

10th Grade

10 Qs

AC Activity 1.4 & 1.6 Vocabulary (PLTW)

AC Activity 1.4 & 1.6 Vocabulary (PLTW)

7th Grade

16 Qs

Python Basic Unit 1

Python Basic Unit 1

7th - 8th Grade

14 Qs

operators(part-1)

operators(part-1)

9th Grade

10 Qs

Data Structure and Algorithm

Data Structure and Algorithm

1st - 3rd Grade

15 Qs

Syntax, Logic and Runtime errors 2024

Syntax, Logic and Runtime errors 2024

10th Grade - University

13 Qs

Compilation Terms

Compilation Terms

9th Grade - University

10 Qs

JAVA QUIZ

JAVA QUIZ

Assessment

Quiz

Science, Computers

1st - 12th Grade

Hard

Created by

joshua igoni

Used 18+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Will this code compile?

Yes

No

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Will this code compile without error?

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Will this code compile?

Yes

No

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when you run and compile the following code?

1

0

compilation error

runtime error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when you run and compile the following code?

Hello

Compilation error

Runtime error

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when you run and compile the following code?

Hi

Compilation error

No output

Runtime error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class has defined the equals(object o) method?

String

Object

Main

System

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?