What is Operators,Operand & Expression?

Operators : Java operators use to perform specific operations on one or more than one operands and then return a result. Example :-  ( + ),( - ) etc.




Operand is a term used to describe any object that is manipulated by an operator.
Example : -

int  num = 15 + 12;
int another in = 15-12;

Then + or - are the operator, and 15 and 12 are the operands. We can use variables as well instead of literals are also operands.


An expression is formed by combining variables, literals, method return values and operators.

In the line below, 15 + 12 is the expression which return 27 in this case.

int myValue = 15 + 12;

Share this

Related Posts

Previous
Next Post »