|
|
|
|
|
|
How to get new line in Java Console or Windows Application
|
If you are creating java console or windows based application and you need to display new line you can use getProperty static method of System class.
|
|
String newline = System.getProperty("line.separator");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|