GIAC
GSSP-JAVA · Question #67
GSSP-JAVA Question #67: Real Exam Question with Answer & Explanation
The correct answer is D. The high-order bits will be dropped, and only the low-order bits will be stored.. See the full explanation below for the reasoning.
Question
Which of the following will be the result if an integer overflow occurs in an operation?
Options
- AThe StackOverflow error will be raised.
- BThe result of the operation will not be changed, but a security warning will be thrown.
- CThe data type of the variable will be changed.
- DThe high-order bits will be dropped, and only the low-order bits will be stored.
Community Discussion
No community discussion yet for this question.