In java...
Write an expression using Boolean variables a and b that evaluates to true when either a and b are both true or both false:
Write an expression using Boolean variables a and b that evaluates to true when only one of a and b is true, and which is false if a and b are both false or both true:
Write an equivalent expression for
a && b without using the && operator: