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