Quiz #2 Flashcards
1
Q
//
A
used for adding a comment to the end of a statement or to create a single line comment
2
Q
/** */
A
comment
used for documentation
3
Q
/* */
A
comment
used to enclose a single or multiline comment
4
Q
\
A
backslash
5
Q
\t
A
tab
6
Q
\n
A
newline
7
Q
"
A
double quotation mark
8
Q
what is a comment
A
provides information about the program to the reader of the code
9
Q
escape sequences
A
\n
\t
"
10
Q
print vs println
A
println puts the next set of words on a new line, print puts the next set of words on the same line