Skip to content

Instantly share code, notes, and snippets.

@rmg007
Created October 3, 2022 21:33
Show Gist options
  • Select an option

  • Save rmg007/05e263fdcbbbac03657a29ab54fccdc6 to your computer and use it in GitHub Desktop.

Select an option

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
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