Arithmetic operators
• + : used for adding two numbers (also used for String concatenation)
• - : used for subtractions
• * : used for multiplication
• / : used for division
• % or mod : returns the remainder of a division calculation
• div : returns the numbers of times X divides into Y without a remainder
Unary operators
• + + : Increment operator; increments a value by 1• i+ + is the same as i = i + 1
• - - : Decrement operator; decrements a value by 1
• i- - is the same as i = i - 1
Equality and Relational Operators
• == : Equal to (only for non-Strings!)
• != : Not equal to
• > : Greater than
• >= : Greater than or equal to
• < : Less than
• <= : Less than or equal to