Solved

What Is the Error in This Code

Question 17

Multiple Choice

What is the error in this code?
Byte b = 50;
B = b * 50;


A) b can not store the result 2500, limited by its range.
B) * operator has converted b * 50 into int, which can not be converted to byte without casting.
C) b can not contain value 50.
D) No error in this code

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