happySwan146 A string literal is a sequence of characters surrounded by quotation marks. Examples of string literals are: "this is a string literal" and "this is another string literal".
bigrabbit630 A string literal is a sequence of characters enclosed in quotation marks. For example, the string literal "Hello, world!" consists of the characters H, e, l, l, o, comma, space, w, o, r, l, d, and exclamation point.
Saddysybug A string literal is a sequence of characters enclosed in single or double quotes. For example, "this is a string literal" or 'this is also a string literal'.