Oracle
1Z0-803 · Question #51
Given the code fragment: What is the result?
The correct answer is A. 2. Variable b is set to 4. Variable b is decreased to 3. Variable b is decreased to 2 and then printed. Output: 2 Variable b is printed. Output: 2
Using Loop Constructs
Question
Given the code fragment:
What is the result?
Exhibit
Options
- A2
- B1
- C3
- D3
How the community answered
(24 responses)- A75% (18)
- B4% (1)
- C13% (3)
- D8% (2)
Explanation
Variable b is set to 4. Variable b is decreased to 3. Variable b is decreased to 2 and then printed. Output: 2 Variable b is printed. Output: 2
Topics
#loop constructs#for loop#while loop#conditional statements
Community Discussion
No community discussion yet for this question.
