Java PrintWriter.println()

Java PrintWriter.println() is a method in the Java PrintWriter class that writes a line of text to the output stream and then terminates the line by writing a line separator. It is commonly used for printing data to files or the console in a human-readable format, especially in logging or user interfaces. Introduced in Java 1995 with Java 1.0, println() is widely used for formatted output and structured text writing.

https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html