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
Options
- AAn exception is thrown at runtime.
- BHello WorldHello World
- CHello World Hello World
- DHello WorldHelloWorld
- EHelloHello WorldHelloWorld
How the community answered
(26 responses)- A12% (3)
- B8% (2)
- C73% (19)
- D4% (1)
- E4% (1)
Community Discussion
No community discussion yet for this question.
