What is the range of values that a short can represent


Problem:

Question 1: Which of the following types does the Java programming language support?

a. integer
b. Integer
c. Object
d. object

Question 2: What is the range of values that a short can represent?

a. 0 to 256
b. -127 to 128
c. Math.pow(-2.0,15.0) to (Math.pow(2.0,15.0) -1)
d. 0 to Math.pow(2.0,16.0)

Provide the correct answer and justification for your choice.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What is the range of values that a short can represent
Reference No:- TGS0892225

Expected delivery within 24 Hours