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

21 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

11 Likes


Related Questions