How Well Do You Know the Operators of the Java language?

Akela
2019-03-19 20:33:05
183
How Well Do You Know the Operators of the Java language?

The operator is the smallest autonomous part of a programming language; a command or a set of commands. There are several groups of operators in Java fulfilling the all tupes of functions. Check your knowledge of these operators, answering the quiz questions!

 

What operator group doesn't exist?

Bytewise

Logical

Assignment

What's the name of this operator "="?

Comparison Operator

Assignment Operator

Equating Operator

How does decrement operator look like?

--

++

!=

How is bitwise left shift operator denoted?

Choose the correct statement

Operator || - logical "OR", and | - logical "AND"

Operator || - bitwise "OR", and | - logical "OR"

Operator || - logical "OR", and | - bitwise "OR"

What's the name of this operator ": ?"?

Relational

Unary

Ternary

What a value should the variable have to make "Correct" appear on the screen?

10

Any more than 10

Any less than 10

What operator is ()?

Unary

Ternary

Is not an operator

What are the values of a, b and c after executing the next code?

a=1 b=2 c=3

a=2 b=3 c=3

a=2 b=3 c=5

What operator has higher priority?

&&

&

*

Is instanceof an operator?

Yes

No

What operator doesn't exist?

===

^=

>>>

You know the subject at the initial level

You know some basic facts, but more complex things give rise to some difficulties. Make sure to devote enough time to this subject since it's almost impossible to write a program of any complexity without it! Good luck! Share the quiz with friends and check their knowledge :)

You know the subject at the intermediate level

You easily use many operators of Java, but sometimes you become embarrassed when solving harder problems. Don't be upset! Improve your theory and solidify it on practice, and you'll definitely succeed! Share the quiz with friends and check their knowledge :)

You know the subject in perfection

You answered all questions right and we may declare for sure: you mastered the subject in perfection! It's time to learn the language further and shift to more complex things. Good luck! Share the quiz with friends and check their knowledge :)