Android
OA0-002 · Question #55
Which will be displayed in TextView01 when executing the following code?
The correct answer is C. It is undetermined which will be displayed, "Hello World" or "Hello". See the full explanation below for the reasoning.
Question
Which will be displayed in TextView01 when executing the following code?
Exhibit
Options
- A"Hello World" will be displayed.
- B"Hello" will be displayed.
- CIt is undetermined which will be displayed, "Hello World" or "Hello".
- DA runtime exception will be thrown.
How the community answered
(57 responses)- A4% (2)
- B5% (3)
- C81% (46)
- D11% (6)
Community Discussion
No community discussion yet for this question.
