What Will Be The Output Of The Following Java Codep Pre #19
What will be the output of the following Java code?</p> <pre><code class="language-java" line="1"> class booloperators { public static void main(String args[]) { boolean var1 = true; boolean var2 = false; System.out.println((var1 & var2)); } }</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 Data Types Variables Arrays - Java Character and Boolean Data Types - Quiz No.1.