\* This is not
a comment *\This is because of what the various symbols in the statement mean. When written between quotation marks in a String[] statement, the symbol “\\” outputs a “\” in the printed string, and “\n” causes the comment to continue on the next line, similar to what the “¶” symbol represents in modern English Writing. The rest of the phrase is printed because it too is between quotation marks.
−Phoenix
Good job, Phoenix, one follow-up question:
ReplyDeleteThere's a technical term that describes \\ and \n, what are they called in the Java programming language?
The technical terms for the “\\” and “\n” characters are “escape sequences”. In specific, “\\” means “backslash”, and “\n” means “newline”.
ReplyDelete−Phoenix
Awesome. 15 XPs awarded for this completion.
ReplyDelete