nerdexam
Oracle

1Z0-815 · Question #90

Given: executed using command: java Hello "Hello World" Hello World What is the output?

The correct answer is C. Hello World Hello World. See the full explanation below for the reasoning.

Question

Given:

executed using command:

java Hello “Hello World” Hello World What is the output?

Exhibit

1Z0-815 question #90 exhibit

Options

  • AAn exception is thrown at runtime.
  • BHello WorldHello World
  • CHello World Hello World
  • DHello WorldHelloWorld
  • EHelloHello WorldHelloWorld

How the community answered

(26 responses)
  • A
    12% (3)
  • B
    8% (2)
  • C
    73% (19)
  • D
    4% (1)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-815 Practice