Match each primitive Java data type with its memory size in bytes:
A1-A, 2-B, 3-C
B1-B, 2-A, 3-C
C1-C, 2-B, 3-A
D1-A, 2-C, 3-B
Answer & Solution
Correct answer: A. 1-A, 2-B, 3-C
byte is 1 byte, int is 4 bytes, double is 8 bytes.
Keep practising Java Data Types and Variables
Browse all Java Data Types and Variables questions for ICSE Class 8, or explore more Computer Applications topics.
Related questions
Match each variable naming rule in Java with its specification:Match each type conversion term with its mechanism in Java:Match each Java data type with its default initial value:Which letter represents the boolean primitive type in JVM type signatures?How many char values represent a Unicode code point in a surrogate pair?Which JVM primitive type cannot be accessed from Java source code?How is char categorized in the JVM primitive type specification?Which class represents numeric values convertible to Java primitive types?