Java Double Keyword
Double Keyword In Java
-
The double keyword is used when we have to store floating type value, but more than 4 bytes.
-
The size of a double-type variable is generally 8 bytes or 68 bits.
-
To store a value in a double type keyword we have to put d after the value.
-
double is a keyword that can store a value between approximate range given below -
Now we will see Example -
Example -
Output -