java string line separator code example Example: java get system line separator System.lineSeparator()