Update java.md

fixed typos
This commit is contained in:
G0ldmember
2021-03-11 18:55:18 +01:00
committed by GitHub
parent 89761b71da
commit 7fdab9da66

View File

@@ -4,9 +4,9 @@
//Text file name HelloWorld.java //Text file name HelloWorld.java
public class HelloWorld { public class HelloWorld {
// main() is the method // main() is the method
public static void main (String[] arfs) public static void main (String[] args)
//Prints "Hello World" in the terminal window. //Prints "Hello World" in the terminal window.
System.out.pritn("Hello World"); System.out.println("Hello World");
} }
``` ```