Mega Code Archive
Categories
/
Java Tutorial
/
Operators
AND operator
public class MainClass { public static void main(String[] arg) { int a = 0; int b = 1; if (a == 0 && b == 1) { System.out.println("here"); } else { System.out.println("there"); } } } here