BooleanTest1.java



public class BooleanTest1 {

    public static void main( String[] args ) {

        int x = 1;
        int y = -1;
      // int y = 1;
        if( x>0  &&  y>0 ) {
            System.out.println( "x and y bigger than 0" );
        }
        else {
            System.out.println( "x and y not bigger than 0" );
        }
    }
}