title: Can i use printf in java without moving to new line
body: <p>I use System.out.printf method to format the string and print a line but
  after that i need to print another line through for loop with print method without moving new line.</p>
  
  <p>Now after used printf method it will move to new line. but i don't need to move new line until print my for loop.</p>
  
  <p>is it possible??
  or can u tell any other way</p>
  
  <p>here is my sample code</p>
  
  <pre><code>  System.out.printf("%7s  %s%n",names[i], " ");
          for(int j=0; j&lt;5;j++){
          System.out.print( grades[i][j]+ " " );
          }
     System.out.println();
  </code></pre>