not greater than java code example

Example 1: summary of operators java

+       Unary plus operator; indicates
        positive value (numbers are 
        positive without this, however)
-       Unary minus operator; negates
        an expression
++      Increment operator; increments
        a value by 1
--      Decrement operator; decrements
        a value by 1
!       Logical complement operator;
        inverts the value of a boolean

Example 2: java not equal to

if(5 != 4) // != means "not equal to"
  	return true;

Example 3: greater than sign in java

== (equal to)	
!= (not equal to)	
> (greater than)	
< (less than)	
>= (greater than or equal to)	
<= (less than or equal to)

Example 4: summary of operator java

~       Unary bitwise complement
<<      Signed left shift
>>      Signed right shift
>>>     Unsigned right shift
&       Bitwise AND
^       Bitwise exclusive OR
|       Bitwise inclusive OR

Tags:

Java Example