MCQ Single Best Answer Easy

QWhat is the numerical range of an int data type in Java?

ID: #22185 int - Data Type in Java 76 views
Question Info
#22185Q ID
EasyDifficulty
int - Data Type in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A -128 to 127
  • B -32768 to 32767
  • C -2147483648 to 2147483647
  • D 0 to 65535
Correct Answer: Option C

Explanation

The int data type in Java is a 32-bit signed integer, ranging from -2147483648 to 2147483647. It is widely used for storing integers in most programming scenarios.

No Previous Next Question

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions