Computer Science, asked by akshayegreat, 1 year ago


what is an operator in blueJ?
in simple language

Answers

Answered by Aryendra
1
Operator's are those which act on operands to yeild a value,maybe mathematical or logical Example----"+","-","*","/" are mathematical operators ,they act on numeric values to yeild a value like ,a=4+5 here "+" acts on 4 and 5 to give a value to variable ' a' Logical value includes >,<,>=,<=,== etc
Answered by rajusetu
1
public void show()
{
int 
a=5,b=6,c=7,d;
if(a < c && a < b)
{
d=a;
}
}

Logical && operator means a number of conditions can be combined using && operator and is all the conditions are true then the block will be executed.
operators DMAS are used

akshayegreat: in simple lang
Similar questions