SCIENCE.
Trusted by students across multiple disciplines!
What is the operator? - Answer: a symbol that is used to perform operations
What are the different types of operators in Java? - Answer: Arithmetic Operators
Assignment Operators
Comparison Operators
Conditional / Logical Operators
What are your Arithmetic Operators? - Answer: + addition
- subtraction
* multiplication
/ division
% modulus (remainder)
++ increment
-- decrement
What are your Assignment Operators? - Answer: = Example x = 10; Same as x = 10;
+= Example x += 10 Same as x = x + 10;
-= Example x -= 10 Same as x = x - 10;
*= Example x *= 10 Same as x = x * 10;
/= Example x /= 10 Same as x = x / 10;
%= Example x %= 10 Same as x = x % 10;
&= Example x &= 10 Same as x = x & 10;
|= Example x |= 10 Same as x = x | 10;
^= Example x ^= 10 Same as x = x ^ 10;
>>= Example x >>= 10 Same as x = x >> 10;
<<= Example x <<= 10 Same as x = x << 10;
1
APPHIA - Crafted with Care and Precision for Academic Excellence.