Expressions, Statements
Expression - consists of operands (variablesor constants) and operators :- Relational expressions: x > y, 2 == y, x!=5- Arithmetic expressions: x+2, y--, x*y, 6/2- The assignment expression: x = y, y = 4Beware !!! Don’t use (x=y) to check equality !!!
Statements:- simple: x=5;- compound: { x=5; y = z = 3; f *= 5.0; }- loops- do while- multi-way if