Chris Evins, College Student, Schooling, Wolverhampton
Answered Dec 02, 2019
The correct answer to this question is False. ?: is not a relational operator, it is a conditional operator. Conditional operators are used in Java programming languages. Its purpose is to select one out of two given expressions for evaluation.
The expressions are based on the sum of the first operands. Conditional operators are also known as ternary operators because they require three arguments. Situations in a line use conditional operators as a way to handle them.
Is an example expression1? expression2:expression3; In laments terms, this example means that expression 1 is true. Then, expression 2 is the expression evaluated. If not, then expression 3 must be evaluated.