Level 49 Level 51
Level 50

Conditional Operator

4 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Conditional operator
also known as the ternary operator
Conditional operator
consists of three operands and is used to evaluate Boolean expressions
Conditional operator Syntax
variable x = (expression) ? value if true : value if false
( Object reference variable ) instanceof (class/interface type)
instance of Operator