I know that in general we write a condition in an if block but...can we write an expression in an if block as in the following code..
Assume the code is inside main method.
This piece of code is from a
scjp questionaire posted on the following link (question 2)
scjp