Multiple choice technology programming languages

Consider the following case: A = false B = true; What is the result of A && B ?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Java and other programming languages, the logical AND operator (&&) evaluates to false if at least one of the operands is false. Since A is false, A && B evaluates to false.