1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-23 13:17:48 +00:00

Merge pull request #278 from MikeGalyen/main

adds a space between 'go' and 'to' on line 15 and and delete the void…
This commit is contained in:
Julien Le Coupanec 2022-04-11 11:41:06 +02:00 committed by GitHub
commit 44727dec60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,9 +61,9 @@ int c = a + b;
### PRINTING
```java
String s = "Happy Coding Folks!!"
void System.out.print(String s) //print s
void System.out.println(String s) //print s, followed by a newline
void System.out.println() //print a newline
System.out.print(String s) //print s
System.out.println(String s) //print s, followed by a newline
System.out.println() //print a newline
```
### PARSING COMMAND-LINE ARGUMENTS