In the "TABLE 2.3 Default initialization values by type" it is mentioned that all numeric types: byte, short, int, long have default value 0. But the default value for long type is 0L and not 0. And for float and double is 0.0f and 0.0d, not just 0.0. (
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html)