nerdexam
Oracle

1Z0-811 · Question #19

1Z0-811 Question #19: Real Exam Question with Answer & Explanation

The correct answer is B. 10 10. See the full explanation below for the reasoning.

Question

Given the code fragment: String s = "Hello Java"; System.out.println (s.length()); s.concat ("SE 8"); System.out.println (s.length ()); What is the result?

Options

  • A12 10
  • B10 10
  • C9 9
  • D10 14

Community Discussion

No community discussion yet for this question.

Full 1Z0-811 Practice