Oracle
1Z0-803 · Question #28
Given the following code fragment: What is the result if the integer value is 33?
The correct answer is B. The fox lazy.... 33 is greater than 0. 33 is not equal to 0. 33 is greater than 30 33 is greater then 10 (the two else if are skipped) finally … is printed.
Using Operators and Decision Constructs
Question
Given the following code fragment:
What is the result if the integer value is 33?
Exhibit
Options
- AThe fox jump lazy...
- BThe fox lazy...
- CQuick fox over lazy ...
- DQuick fox the ....
How the community answered
(46 responses)- A11% (5)
- B83% (38)
- C4% (2)
- D2% (1)
Explanation
33 is greater than 0. 33 is not equal to 0. 33 is greater than 30 33 is greater then 10 (the two else if are skipped) finally … is printed.
Topics
#conditional statements#if-else#switch#output prediction
Community Discussion
No community discussion yet for this question.
