summary of operators java

Solutions on MaxInterview for summary of operators java by the best coders in the world

showing results for - "summary of operators java"
Vincent
09 Jul 2019
1+       Unary plus operator; indicates
2        positive value (numbers are 
3        positive without this, however)
4-       Unary minus operator; negates
5        an expression
6++      Increment operator; increments
7        a value by 1
8--      Decrement operator; decrements
9        a value by 1
10!       Logical complement operator;
11        inverts the value of a boolean
12
Roberta
14 Jun 2018
1==      Equal to
2!=      Not equal to
3>       Greater than
4>=      Greater than or equal to
5<       Less than
6<=      Less than or equal to
7
Roberto
31 Feb 2020
1&&      Conditional-AND
2||      Conditional-OR
3?:      Ternary (shorthand for 
4        if-then-else statement)
5
Sara
05 May 2016
1instanceof      Compares an object to 
2                a specified type 
3
Carrie
05 Nov 2017
1=       Simple assignment operator
2
Alejandro
19 Aug 2019
1+       Additive operator (also used
2        for String concatenation)
3-       Subtraction operator
4*       Multiplication operator
5/       Division operator
6%       Remainder operator
7