Vương Tuấn Khải
New member
What will be the output of the following Java code?
A. 0
B. 1
C. true
D. false
Code:
class booloperators {
public static void main(String args[])
{
boolean var1 = true;
boolean var2 = false;
System.out.println((var1 & var2));
}
}
B. 1
C. true
D. false