summary of operators java
&& Conditional-AND
|| Conditional-OR
?: Ternary (shorthand for
if-then-else statement)
summary of operators java
&& Conditional-AND
|| Conditional-OR
?: Ternary (shorthand for
if-then-else statement)
java "->"
Runnable r = ()-> System.out.print("Run method");
// is equivalent to
Runnable r = new Runnable() {
@Override
public void run() {
System.out.print("Run method");
}
};
summary of operators java
= Simple assignment operator
summary of operators java
+ Additive operator (also used
for String concatenation)
- Subtraction operator
* Multiplication operator
/ Division operator
% Remainder operator
summary of operators java
instanceof Compares an object to
a specified type
summary of operator java
~ Unary bitwise complement
<< Signed left shift
>> Signed right shift
>>> Unsigned right shift
& Bitwise AND
^ Bitwise exclusive OR
| Bitwise inclusive OR
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us