title: Does a void method call count as an expression?
body: <p>In this Java docs tutorial: <a href="https://docs.oracle.com/javase/tutorial/java/nutsandbolts/expressions.html" rel="nofollow noreferrer">https://docs.oracle.com/javase/tutorial/java/nutsandbolts/expressions.html</a></p>
  <p>System.out.println(), which is a void method call does not count as an expression, but in this link from the specs: <a href="https://docs.oracle.com/javase/tutorial/java/nutsandbolts/expressions.html" rel="nofollow noreferrer">https://docs.oracle.com/javase/tutorial/java/nutsandbolts/expressions.html</a></p>
  <p>It is said that an expression can be something that evaluates to nothing (void). This leads to my question and confusion about if a void method call would count as an expression or not in Java? What is the reasoning behind it as well?</p>