What will be the output of the following Java Code?
class booloperators {
{
public static void main(String args[ ])
boolean var1 = true;
boolean var2 = false;
System. out. println((var1 & var2));
}
}
1
0
2
1
3
true
4
false
What will be the output of the following Java Code?
class booloperators {
{
public static void main(String args[ ])
boolean var1 = true;
boolean var2 = false;
System. out. println((var1 & var2));
}
}