Assuming you have declared shoeSize to be a variable of type int, which of the following is

Question:

Assuming you have declared shoeSize to be a variable of type int, which of the following is a valid assignment statement in Java?

a. shoeSize = 9;
b. shoeSize = 9.5;
c. shoeSize = ”nine”;
d. Two of the above are valid.

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

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: