Solved

What Is the Error in This Code

Question 15

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