GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Escape Sequence Review

Shannon Anderson-Rush Computer Science AP Englisch 7 Karten

Escape Sequence Review

Karten in diesem Stapel (7)

  1. 1—A character preceded by a backslash (\) is an escape sequence and has a special meaning to the compiler. Let's get started reviewing escape sequenceA character preceded by a backslash (\) is an escape sequence and has a special meaning to the compiler. Let's get started reviewing esca...
  2. 2\tInserts a tab in the text at this point. This one is great for creating columns in string literals.
  3. 3\nInserts a newline in the text at this point. This is useful when you want to start a new line in your string literal without creating a separate print statement
  4. 4\'Inserts a single quote character in the text at this point. This is necessary to show possession in a string literal.
  5. 5\"Inserts a double quote character in the text at this point. This is necessary when you want to quote something in a string literal.
  6. 6\\Inserts a backslash character in the text at this point.
  7. 7System.out.println("What is an astronaut\'s favorite key on the keyboard?");The spacebar

Informationen

Beschreibung
AP Computer Science Karteikarten am Escape Sequence Review, erstellt von Shannon Anderson-Rush am 07/09/2020.
Aufrufe
746
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck