DRAFT
SingleQuoteString
Incorrect
String literals can be in single quotes
Correct
String literals must be in double quotes
CorrectionHere is what's right.
Here is what's right.
In some other programming languages that’s true, but in Java String
literals must be in double quotes.
Language
Java
Concepts
Expressible In
Related Misconceptions
Literature References
The following papers directly or indirectly provide qualitative or quantitative evidence related to this misconception.