Operation3.java



public class Operation3 {
    public static void main( String[] args ) {

        boolean b1, b2;
        b1 = true;
        b2 = true;
        System.out.println( b1 + "&&" + b2 + "=" + (b1 && b2) );
        b1 = true;
        b2 = false;
        System.out.println( b1 + "&&" + b2 + "=" + (b1 && b2) );
        b1 = false;
        b2 = true;
        System.out.println( b1 + "&&" + b2 + "=" + (b1 && b2) );
        b1 = false;
        b2 = false;
        System.out.println( b1 + "&&" + b2 + "=" + (b1 && b2) );
    }
}