Printing and string literals
println ends its line and print doesn't, and a string literal is text between double quotes in which a backslash starts an escape sequence, so a quote, a backslash or a new line can be put inside it.
From AP Computer Science A.