In which operators all the operands are always evaluated (select all that apply)?
Explanation
Operator || does not calculate the value of the second operand if the first operand has a true value.
Operator && does not calculate the value of the second operand if the first operand has a false value.
The Operator ?: depending on the verity of conditions calculates the value only one of the two expressions.

The question is fantastic, but worded a bit strangely...

2023 Feb 17, 10:49:25 AM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes