Java operators
Operators are special symbols that perform specific operations on operands, and then return a result. The following are the operators supported by the Java programming language:
A simple assignment operator
=
: A simple assignment operator
Arithmetic operators
+
: An additive operator (also used for string concatenation)-
: The subtraction operator*
: The multiplication operator/
: The division operator%
: The remainder operator
Unary operators
+
: Unary plus operator; indicates positive value-
: 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 value
Equality and relational operators
==
: Equals ...
Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.