Assume boolean variable a is true
and boolean variable b is false.
Would if (a || b) run the code in the if statement?
Yes - at least one boolean is true so the whole statement is true.
- No - both statements need to be true for the if statement to run.
- No - This code would produce an error.
- Yes - at least one boolean is false so the whole statement is true.
There are no hints for this question