Primitive Data Types (The Java™ Tutorials - Oracle
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
A floating-point literal is of type float if it ends with the letter F or f; otherwise its type is double and it can optionally end with the letter D or d. The floating point types (float and double) can also be expressed using E or e (for scientific notation), F or f (32-bit float literal) and D or d (64-bit double literal; this is the default and... char: '\u0000' float: 0.0f double: 0.0d long: 0L
A floating-point literal is of type float if it ends with the letter F or f; otherwise its type is double and it can optionally end with the letter D or d. The floating point types (float and double) can also be expressed using E or e (for scientific notation), F or f (32-bit float literal) and D or d (64-bit double literal; this is the default and...
char: '\u0000'
float: 0.0f
double: 0.0d
long: 0L
DA: 37 PA: 84 MOZ Rank: 91 Up or Down: Up