mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 20:35:12 +00:00
Update java.md
fixed typos
This commit is contained in:
parent
89761b71da
commit
7fdab9da66
@ -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");
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user