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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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