KnowledgeBoat Logo

Computer Applications

Which integer and floating point data types take up the same number of bits in computer memory?

Values & Data Types Java

17 Likes

Answer

Both, int and float take up 32 bits in memory. Similarly, both long and double take up 64 bits in memory.

Answered By

9 Likes


Related Questions