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

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation