Thread
:
What is the difference between double and float variables in Java?
View Single Post
05-31-2019, 02:07 AM
#
1
preetiagarwal
Registered User
Join Date: Jul 2018
Posts: 8
What is the difference between double and float variables in Java?
In java, float takes 4 bytes in memory while Double takes 8 bytes in memory. Float is Single precision floating point decimal number, while Double is double precision decimal number.
https://www.exltech.in/java-training.html
preetiagarwal
View Public Profile
Find More Posts by preetiagarwal