Difference between revisions of "Java"

From Nerdica Wiki
Jump to: navigation, search
(Created page, added keywords and External links.)
 
(Added Operators (probably still requires better formatting))
Line 14: Line 14:
 
const      for        new          switch
 
const      for        new          switch
 
continue    goto      package      synchronized
 
continue    goto      package      synchronized
 +
</pre>
 +
 +
== Operators ==
 +
 +
<pre>
 +
 +
Assignment Operators:        =
 +
 +
Arithmetic Operators:        -        +        *        /        %        ++        --
 +
 +
Relational Operators:        >        <        >=        <=        ==        !=
 +
 +
 +
Logical Operators:        &&        ||        &        |        !        ^
 +
 +
Bit wise Operator:        &        |        ^                >>        >>>
 +
 +
Compound Assignment Operators:        +=        -=        *=        /=        %=     
 +
 +
<<=        >>=    >>>=
 +
 +
Conditional Operator:        ?:
 
</pre>
 
</pre>
  

Revision as of 12:10, 10 December 2009

Keywords

abstract    default    if            private      this
boolean     do         implements    protected    throw
break       double     import        public       throws
byte        else       instanceof    return       transient
case        extends    int           short        try
catch       final      interface     static       void
char        finally    long          strictfp     volatile
class       float      native        super        while
 

const       for        new           switch
continue    goto       package       synchronized

Operators


Assignment Operators:         =

Arithmetic Operators:         -        +        *        /        %        ++        --

Relational Operators:         >        <        >=        <=        ==        !=
 

Logical Operators:         &&        ||        &        |        !        ^

Bit wise Operator:         &        |        ^                >>        >>>

Compound Assignment Operators:         +=        -=        *=        /=        %=       

								 <<=        >>=     >>>=

Conditional Operator:         ?:

External Links