DataOutputStream New Line Java

General new line character is discussed in Java New Line. Infact, new line character is operating system dependent. To know the new line character supported by the OS, use line.separator of getProperty() defined in System class as follows. String newLine = System.getProperty(“line.separator”); The above newLine string object can be used in programming to give new …

DataOutputStream New Line Java Read More »