Which assignment is correct in Java? a. double money = 12; b. double money = 12.0; c.

Question:

Which assignment is correct in Java?
a. double money = 12;
b. double money = 12.0;
c. double money = 12.0d;
d. All of the above are correct.

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: