6.
What 15 d UUU
7. Write an equivalent java expression
(i) ab + b >=ba + a
Answers
Answered by
0
Explanation:
Operators in Java
Java provides a rich set of built-in operators which can be categorized as follows.
Arithmetic Operators
Relational Operators
Increment and Decrement Operators
Logical Operators
Assignment Operators
Arithmetic Operations
Arithmetic Operators are the operators which perform arithmetic calculations on operands same as these are used in algebra.
In the following table, the value of 'a' is 8 whereas that of 'b' is 4.
Operator Description Example
+ Adds operands a+b=12
- Subtracts second operand from the first a-b=4
* Multiplies both operands a*b=32
/ Divides numerator by denominator. a/b=2
% Modulus Operator returns the remainder of after an integer division. a%b=0
Similar questions
English,
3 months ago
Social Sciences,
7 months ago
Math,
7 months ago
English,
11 months ago
English,
11 months ago