String
A string is a sequence of characters.
Related concepts: ValueTypeSequence
Closest Wikipedia entry: String (computer science)
Misconceptions about String18 documented Misconceptions
Check YourselfArithmeticPlusPrecedes — Java
Addition has higher precedence than string concatenation
CharNotNumeric — Java
Char is not a numeric type
LiteralString — Java
When passing a literal string as argument to a method, no quotes are needed
NoCallOnStringLiteral — Java
One cannot invoke methods on String literals
NoCharEscape — Java
\ is a normal character in char and String literals
NoStringToString — Java
One cannot invoke toString() on a String
SingleQuoteString — Java
String literals can be in single quotes
StringLengthField — Java
One can know the length of a String object by accessing its length field
StringLiteralNoObject — Java
One needs to call the String constructor to get a String object from a literal
StringPlusStringifiesExpression — Java
String concatenation stringifies non-String operand expressions
StringRepetitionOperator — Java
The multiplication operator can repeat a String a number of times
ToStringPrints — Java
Invoking toString() prints something
CharType — JavaScript
A single character is of type char
IdentifierAsStringInBracketNotation — JavaScript
An identifier used to access a property with the bracket notation is treated as a string
StringRepetitionOperator — JavaScript
One can repeat a String by multiplying it with a number
NoSequenceRepetition — Python
There is no operator that repeats sequences
PlusConcatenatesNumbers — Python
The plus operator can concatenate strings and numbers
StringLiteralNoObject — Python
One needs to call str to instantiate a str object from a string literal