Quotes

From Conservapedia
This is the current revision of Quotes as edited by AddisonDM (talk | contribs) at 15:15, May 24, 2009. This URL is a permanent link to this version of this page.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Quotes in computer programming come in two basic kinds: the double quote (") and the single quote ('). Non-programmers call these the quotation mark and the apostrophe.

In Java, a String is specified by enclosing text in double quotes, while a single character is enclosed in single quotes. Special characters such as the tab are marked with a backslash (see escape character). Characters so marked can be used in double quotes for a String, or in single quotes for a char.