Difference between revisions of "Quotes"

From Conservapedia
Jump to navigation Jump to search
(Created page with ''''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 [[apostroph...')
(No difference)

Revision as of 20:53, May 22, 2009

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.