Which Of The Following Operators Can Operate On A Boolean #103
Which of the following operators can operate on a boolean variable?</p> <pre><code class="language-txt"> 1. && 2. == 3. ?: 4. +=</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Operators Control Statements - Java Relational Operator and Boolean Logic Operators - Quiz No.1.
Which of the following operators can operate on a boolean variable?
1. && 2. == 3. ?: 4. +=
3 & 2
1 & 4
1, 2 & 4
1, 2 & 3