Multiple choice technology programming languages

select which of these are correct

  1. int = 32-bit signed

  2. float = 32-bit IEEE 754 floating point

  3. long = 64-bit signed

  4. short = 18-bit signed

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Java primitive types have fixed sizes: int is 32-bit signed integer, float is 32-bit IEEE 754 floating-point, long is 64-bit signed integer. Option D is incorrect because short is 16-bit signed, not 18-bit. These sizes are guaranteed across all JVM implementations for consistency.