how to print to the console in java

Java
System.out.println("Text");
Source

Also in Java: