5 years ago in Java Data Types

What is the range of data type short in Java ?

[A] -128 to 127
[B] -32768 to 32767
[C] -2147483648 to 2147483647
[D] None of the mentioned
Loading...
Next Question

Overall Stats

Attempted 354
Correct 193
Incorrect 52
Viewed 109

Answers

Guest
Guest
Hakima EL
Hakima EL - 3 weeks ago

Hakima EL from Casablanca, Morocco is saying -128 to 127 is correct answer

Assaad Amine
Assaad Amine - 4 weeks ago

Assaad Amine from Casablanca, Morocco is saying -32768 to 32767 is correct answer

Vaibhav Bisht
Vaibhav Bisht - 4 weeks ago

Vaibhav Bisht from Dehradun, India is saying -32768 to 32767 is correct answer

HD
HD - 4 weeks ago

HD from Kenitra, Morocco is saying -32768 to 32767 is correct answer

Zo Go
Zo Go - 4 weeks ago

Zo Go from Casablanca, Morocco is saying -32768 to 32767 is correct answer

Related Questions

What is the range of data type int in Java?

  • [A] -128 to 127
  • [B] -32768 to 32767
  • [C] -2147483648 to 2147483647
  • [D] None of the mentioned

what is size of integer in java programming.

  • [A] 4 bytes
  • [B] 5 bytes
  • [C] 2 bytes
  • [D] 8 bytes