Comparing numeric primitives in Java.
Java Primitive Float And Double – What’s the difference?
Any floating-point literal in Java is by default of a double type.
Comparing numeric primitives in Java.
Any floating-point literal in Java is by default of a double type.