Observed
NoFloatLiterals

Incorrect
There are no float literals
Correct
An F or f suffix can turn a number into a float literal
CorrectionHere is what's right.
Here is what's right.
Java does have float literals.
The suffix f or F denotes a float literal.
Examples of float literals in Java:
1f3.0FSymptomsHow do you know your students might have this misconception?
How do you know your students might have this misconception?
The following code snippet shows how this misconception can manifest itself:
float f = (float)3.5;Language
Java