Practice mode Java

What is the size of the int data type in Java?

Correct answer D. 32 bits

Explanation

Java fixes the size of int at 32 bits on every platform, giving a range from -2,147,483,648 to 2,147,483,647, unlike C where size can vary.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.