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:
Verified
Q12: Which operator is used to implement unsigned
Q13: Which one of the following is a
Q14: Which of these operators is used to
Q15: Which of the following loops will execute
Q16: Which of these is necessary condition for
Q18: Which of these is an incorrect array
Q19: Which of these selection statements test only
Q20: Which of these are selection statements in
Q21: Which of these jump statements can skip
Q22: What is the value of the expression
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents