print console log in java code example
Example 1: console log java
System.out.println(String msg)
Example 2: console printing in java
public class writingInTheConsole {
public static void main(String[] args) {
System.out.println("Hello Java! I made Minecraft: Java Edition!");
}
}