Which of the following declares a variable that can store an integer? a. Int quantity = 0;

Question:

Which of the following declares a variable that can store an integer? 

a. Int quantity = 0; 

b. Integer quantity = 0; 

c. Quantity = 0; 

d. Int quantity = 0;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: