title: What's up with Java's "%n" in printf?
body: <p>I'm reading Effective Java and it uses <code>%n</code> for the newline character everywhere. I have used <code>\n</code> rather successfully for newline in Java programs.</p>
  
  <p>Which is the 'correct' one? What's wrong with <code>\n</code> ? Why did Java change this C convention?</p>