title: Java, end of line with system.out.print
body: <p>I have done some research concerning <code>System.out.print()</code> and <code>System.out.println()</code> and I discovered that <code>System.out.println()</code> add the end of line at the end of printed line.</p>
  
  <pre><code>System.out.println("Test");
  </code></pre>
  
  <p>Output only :</p>
  
  <pre><code>Test
  </code></pre>
  
  <p>but does not print end of the line. </p>
  
  <pre><code>System.out.print("Test");
  </code></pre>
  
  <p>Output only:</p>
  
  <pre><code>Test
  </code></pre>
  
  <p>but does not end the line and leave some place for other words or numbers, etc etc.</p>
  
  <p>A more illustrative way is:</p>
  
  <pre><code>Test_____________________________________________ (All "blank" spots)
  </code></pre>
  
  <p>Is there a way to, force an end of line with <code>System.out.print()</code> directly after the word <code>Test</code>? Will the usage of <code>%</code> will remove the "blank" spots?</p>
  
  <p>Or a way to code a function that will end the line after I used several <code>System.out.print()</code> to print a sentence?</p>
  
  <p>For exemple : </p>
  
  <pre><code>System.out.print("Test);
  System.out.print("Test);
  </code></pre>
  
  <p>will outpost a pure:</p>
  
  <pre><code>Test Test
  </code></pre>
  
  <p>like <code>System.out.println("Test Test")</code></p>