title: How to clear the console?
body: <p>Can any body please tell me what code is used for clear screen in Java?</p>
  <p>For example, in C++:</p>
  <pre><code>system(&quot;CLS&quot;);
  </code></pre>
  <p>What code is used in Java to clear the screen?</p>