1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-21 20:35:12 +00:00

Merge branch 'master' of github.com:LeCoupa/awesome-cheatsheets

This commit is contained in:
Julien Le Coupanec 2022-04-15 22:01:16 +02:00
commit 2137ac0559

View File

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