System.out.println() (Java)

System.out.println() prints a line of text to the console and then moves to a new line. It is Java's standard way to display output and is usually the first…