title: What is the difference between no parameter and the void parameter in C++?
body: <p>I've recently switched from Java to learning C++, I'm a newbie to this language so I need your help :)</p>
  
  <p>What's the difference?</p>
  
  <pre><code>void method(void) {
  
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>void method() {
  
  }
  </code></pre>
  
  <p>Many thanks!</p>