🎴 Flashcard Mode
Java Server Faces (JSF) Programming
Card1 / 10
Mastered0
Review0
QuestionClick to flip
The & and | operators always evaluate
AnswerClick to flip back
A
Evaluate on both operands
💡 Explanation:
The bitwise AND (&) and bitwise OR (|) operators in Java ALWAYS evaluate both operands - they do not short-circuit. This is different from logical AND (&&) and logical OR (||) which short-circuit (skip right operand if left operand determines result). Option A is incorrect because both operands are evaluated. Option C describes short-circuit behavior which applies to &&, ||, not &, |.