Solved

What Is Wrong with the Following Code Snippet

Question 8

Multiple Choice

What is wrong with the following code snippet?
Int price;
Price = 9.42;


A) The price variable is never initialized.
B) The data type for the price variable is not specified.
C) The price variable is never assigned a value.
D) The price variable is assigned a decimal value.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions