Computer Science, asked by vallabhyerne1206, 1 year ago

100 points...............................................................................................................................................................................what are the operetors of Java explain briefly

Answers

Answered by tjjw13
1
there are three operators in java:-
1) Unary Operator - It requires only one variable to operate upon an expression.

Two types :-
post and pre
pre increment ( ++x ) or pre decrement ( --x )
post increment (x++ ) or post decrement ( x-- ).

2) Binary Operators - They requires two variables to operate upon an expression.

They are of 4 types.:-
* Arthemetic Operator - It executes the arthemetic related expressions.Eg :- +,-,*,%,÷ etc.

* Relational Operator - It realtes the two or more than two expressions. Eg :- <,>,<=,>=,== etc

* Logical Operator - It gives the results that the given expression is true or false.Eg :- True and False.

* Assignment Operator - It assigns the value to the operation.Eg :- = etc.

3) Ternary Operator - The ternary operator is also known as the conditional operator. This operator consists of three operands and is used to evaluate Boolean expressions.

Eg :- number = (expression) ? expressionTrue : expressinFalse;

Hope it helped you!!!!
Plzz mark it as Brainlist Answer!!!

Regards!!!
Answered by adhvaith2007
0

Answer: Unary Operator,

Arithmetic Operator,

Shift Operator,

Relational Operator,

Bitwise Operator,

Logical Operator,

Ternary Operator and

Assignment Operator.

Explanation:

Similar questions