Changes

Jump to navigation Jump to search
809 bytes added ,  07:40, 4 April 2015
no edit summary
Line 47: Line 47:  
[https://github.com/rafahsolis/javaTutorial/blob/master/Animal.java Animal.java]<br />
 
[https://github.com/rafahsolis/javaTutorial/blob/master/Animal.java Animal.java]<br />
    +
== Operators ==
 +
=== Asignment ===
 +
= Asignment
 +
=== Arithmetic ===
 +
+ Additive<br />
 +
- Substraction<br />
 +
* Multiplication<br />
 +
/ Division<br />
 +
% Remainder<br />
 +
=== Increment / Decrement ===
 +
++ Increment<br />
 +
-- Decrement<br />
 +
=== Logic ===
 +
== Equal to (*)<br />
 +
!= Not Equal to<br />
 +
> Greater than<br />
 +
>= Greater than or equal to<br />
 +
< Less than<br />
 +
<= Less than or equal to<br />
 +
&& Conditional-AND<br />
 +
|| Conditional-OR<br />
 +
?: Ternary (shorthand for if-then-else statement<br />
 +
<br />
 +
(*) Check .equals()<br />
 +
=== Bitwise and Bit Shift Operators ===
 +
~ Unary bitwise complement<br />
 +
<< Signed left shift<br />
 +
>> Signed right shift<br />
 +
>>> Unsigned right shift<br />
 +
& Bitwise AND<br />
 +
^ Bitwise exclusive OR<br />
 +
| Bitwise inclusive OR<br />
 +
=== Type comparison operator ===
 +
instanceof
    
== Loops ==
 
== Loops ==

Navigation menu