hiexam
oracle · 1z0-808 · Q605 · multiple_choice · topic_1

Given the code fragment: //IMG// What is the result?

Given the code fragment: //IMG// What is the result?
  • A.Compilation fails at both line n1 and line n2.
  • B.Compilation fails only at line n2.
  • C.Compilation fails only at line n1.
  • D.Jesse 25 Walter 52
Explanation
Answer is B. Correct syntax for the second constructor to call the first would be to use this(name).

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.