Created
October 3, 2022 21:33
-
-
Save rmg007/05e263fdcbbbac03657a29ab54fccdc6 to your computer and use it in GitHub Desktop.
learn and dive deep into Java Course. Escape Sequences and printf lecture part1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Main { | |
| /* | |
| print double quote I love "food" \" | |
| print new line \n | |
| print indentation \t | |
| pint backslash | |
| */ | |
| public static void main(String[] args) { | |
| System.out.println("I love \"food\""); | |
| System.out.println("one\ntwo\nthree"); | |
| System.out.println("\\"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment