CBSE BOARD X, asked by ArpitaDas1, 1 year ago

what is an operator.few types of operators

Answers

Answered by Dhruv00
4
Operators are those symbols which are used to perform specific tasks on operands .
Few types of operators are
In Java
Arithmetic operators -+ , - , * , /.
Logical operators - &, |, !.

ArpitaDas1: Thank you
Dhruv00: pleasure
Answered by maria9
5
an operator is a symbol or letters which is used to perform a specific operation on the operands

operator are mainly two types:-
1)unary operator- deals with one operand
e.g.
i.unary + (plus)
ii.unary - (minus)

2)binary operator- deals with two operands
e.g.
I.arithmetic operator(+,-,*,%,/)
ii. relational operator(<,<=,>,>=,==,!=)
iii.conditional operator(||,&&,!)

3)ternary operator- deals with three operands
e.g.
conditional assignment operator(?:)
Similar questions