JAVA QUIZ

JAVA QUIZ

1st - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Python Basics - Year 8

Python Basics - Year 8

7th - 9th Grade

14 Qs

Java Exceptions

Java Exceptions

10th Grade

10 Qs

PYTHON - SKILL#1.1 - JR

PYTHON - SKILL#1.1 - JR

11th Grade

13 Qs

Quiz - print() function

Quiz - print() function

9th Grade

10 Qs

AP CSA Unit 9 Inheritance - Polymorphism

AP CSA Unit 9 Inheritance - Polymorphism

10th - 12th Grade

8 Qs

Python - Creating Programs

Python - Creating Programs

9th - 11th Grade

14 Qs

Arduino Quiz

Arduino Quiz

9th - 12th Grade

16 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?