Oracle
1Z0-803 · Question #2
Given: What is the result?
The correct answer is A. hello. The program compiles fine. The program runs fine. The output is: hello
Using Operators and Decision Constructs
Question
Given:
What is the result?
Exhibit
Options
- Ahello
- Bdefault
- CCompilation fails
- DThe program prints nothing
- EAn exception is thrown at run time
How the community answered
(22 responses)- A91% (20)
- C5% (1)
- D5% (1)
Explanation
The program compiles fine. The program runs fine. The output is: hello
Topics
#switch statement#control flow#string in switch
Community Discussion
No community discussion yet for this question.
