Boolean expression

Report a typo

Given two boolean variables:

boolean b1 = false;
boolean b2 = true;

What is the result of the following expression?

b1 ^ b2;
Enter a short text
___

Create a free account to access the full topic