System.out.println()
Prints a value followed by a newline to standard output. The most common way to output text in Java.
Syntax
java
System.out.println(value)Example
java
System.out.println("Hello, World!");
System.out.println(42);
System.out.println(3.14);
System.out.print("No newline here");