DataType2.java



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

        boolean b;

        b = ( 10 < 100 );
        System.out.println( "10 < 100 is " + b );
        b = ( 10 > 100 );
        System.out.println( "10 > 100 is " + b );
        b = ( 10 == 100 );
        System.out.println( "10 == 100 is " + b );
        b = ( 10 != 100 );
        System.out.println( "10 != 100 is " + b );
    }
}