This is an example :
b + 1
is an expression while a = b + 1;
is a statement. A statement consists of expressions.
This is not specific to the Java language. Many languages use this kind of grammar e.g. C, C++, Basic
etc (not SQL
).
This is an example :
b + 1
is an expression while a = b + 1;
is a statement. A statement consists of expressions.
This is not specific to the Java language. Many languages use this kind of grammar e.g. C, C++, Basic
etc (not SQL
).