Solved

What Value Will Be Assigned to the Variable Number by the Following

Question 9

Multiple Choice

What value will be assigned to the variable number by the following statement?
Int number = 7.8;


A) 7
B) 8
C) 7.8
D) None of the above.
E) It's unpredictable. That's the problem.

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents