### Source code for ComparisonOperatorsExample.java:

>     public class ComparisonOperatorsExample
>     {
>     	public static void main(String args[])
>     	{
>     		// ComparisonOperatorsExample
>     		int i = 10;
>     		System.out.println(i == 10);
>     		System.out.println(i > 10);
>     		System.out.println(i >= 10);
>     		System.out.println(i < 10);
>     		System.out.println(i <= 10);
>     	}
>     }

### Output from ComparisonOperatorsExample.java:

    true
    false
    true
    false
    true

--- Output Ends ---

#### NOTE:

You are reading previously generated output. You are not currently running the ComparisonOperatorsExample application at the momement. You need to compile and run the source code first.

#### To run this program:

`
- javac ComparisonOperatorsExample.java
- java ComparisonOperatorsExample
`

Authors: Kevin Chu and Eric Brower
Copyright 2000 Prentice Hall PTR