Operators


Operators are special symbols that tells the computer to preform certain mathematical and logical manipulation.

Arithmetic Operators
Operator         Meaning
      +               Addition
      -               Subtraction
      *               Multiplication
      %              Modulo Division(Used to returns Remainder)
      /               Division

Note : Unlike C and C++ in java modulo operator can be applied to the floating point data as well.

Relational Operator : These operators is used to compose two or more quantities.
Type Operator     Meaning
         <                Less then
         <=              Less then equals to
         >                Greater then
         >=              Greater then equals to
         ==              Equals to
         !=               Not Equals to

0 Comments:

Post a Comment