The expression statement
An expression that does not return a value can be used as a statement.
ExpressionStatement
One would use an expression statement if the expression has desired side effects. For example, an action or method call can be used in this way.
To be used as a statement, an expression must return nothing.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.