1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-24 21:57:38 +00:00

Merge pull request #171 from G0ldmember/patch-1

Update java.md
This commit is contained in:
Julien Le Coupanec 2021-03-13 19:14:06 +01:00 committed by GitHub
commit 987b708b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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