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. shoeSize = 9.5F;

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

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: