I'm reading Effective Java and it uses %n
for the newline character everywhere. I have used
rather successfully for newline in Java programs.
Which is the 'correct' one? What's wrong with
? Why did Java change this C convention?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…