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]]. | 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]]. |