1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-06-09 07:42:19 +00:00

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

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");
} }
``` ```