MCQOPTIONS
Saved Bookmarks
| 1. |
What is the error in this code? byte b = 50; b = b * 50; |
| A. | B cannot contain value 100, limited by its range |
| B. | * operator has converted b * 50 into int, which can not be converted to byte without casting |
| C. | B cannot contain value 50 |
| D. | No error in this code |
| Answer» C. B cannot contain value 50 | |