nerdexam
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

1Z0-803 question #2 exhibit

Options

  • Ahello
  • Bdefault
  • CCompilation fails
  • DThe program prints nothing
  • EAn exception is thrown at run time

How the community answered

(22 responses)
  • A
    91% (20)
  • C
    5% (1)
  • D
    5% (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.

Full 1Z0-803 Practice