mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-25 06:07:34 +00:00
commit
987b708b36
@ -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