Computer Science, asked by nishantsikchi26, 4 days ago

What is the function of Operator in Java??​

Answers

Answered by ItzSofiya
2

Answer:

Arithmetic Operators in Java

Operator Description

+ Addition Adds values on either side of the operator

– Subtraction Subtracts the right-hand operator with left-hand operator

* Multiplication Multiplies values on either side of the operator

/ Division Divides left hand operand with right hand operator

Answered by animadhur
1

Answer:

Operators are the constructs which can manipulate the values of the operands. Consider the expression 2 + 3 = 5, here 2 and 3 are operands and + is called operator. In this article on Java operators, the goal is to get you the expertise required to get started and work with operators in Java.

Java supports the following types of operators:

Arithmetic Operators

Assignment Operators

Logical Operators

Relational Operators

Unary Operators

Bitwise Operators

Ternary Operators

Shift Operators

Let’s focus on each of these operators one by one.

Arithmetic Operators in Java

Arithmetic Operators are used to perform mathematical operations like addition, subtraction, etc.

Similar questions