Halloween Java

Halloween Java

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the primitive type that can store true and false values?

Back

boolean

2.

FLASHCARD QUESTION

Front

Which of the following is a relational/comparison operator? +, *, /, ==

Back

==

3.

FLASHCARD QUESTION

Front

What will be the value of the boolean expression 'grade > 89' if grade is 85?

Back

false

4.

FLASHCARD QUESTION

Front

What will be the value of the boolean expression 'key == "q"' if key is 'Q'?

Back

false

5.

FLASHCARD QUESTION

Front

Which operator is used to compare reference types?

Back

==

6.

FLASHCARD QUESTION

Front

What will be the value of the boolean expression 'rect1 == rect2' if rect1 and rect2 refer to different rectangle objects with the same information?

Back

false

7.

FLASHCARD QUESTION

Front

What method can be used to compare string literals?

Back

equals()

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?