BooleanTest2.java



public class BooleanTest2 {

    public static void main( String[] args ) {

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