Category:
Java data types interview questions and answers
‘int’ is used for storing integer values. float is a single -precision floating -point data type, and double is a double-precision floating-point data type .The size of the ‘int’ data type is 4 bytes(32-bit), the size of the ‘double’ data type is 8 bytes( 64 -bit) and the size of the ‘float’ data type is 4 bytes(32-bit).
