for theory, see: Conditional Instruction & Expressions.
--
in java, there's following syntax used:
if (expression) { instruction; };
or
if (expression) instruction;
--
many consider former syntax (with brackets) more readable than latter form (without brackets).
not sure if final semicolon is instruction's terminator or separator, reader can check on his own.
Brak komentarzy:
Prześlij komentarz