nerdexam
IBM

C2170-010 · Question #12

Examine the following piece of code: [Image of Java code snippet: serverworkshop.impl.MaintainPerson] Which of the following statements about this piece of code is true?

Sign in or unlock C2170-010 to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.

Question

Examine the following piece of code: [Image of Java code snippet: serverworkshop.impl.MaintainPerson] Which of the following statements about this piece of code is true?

Options

  • AIt does not compile because an import statement is missing
  • BIt does not compile because the PersonDtils object must be obtained from a factory class
  • CIt does not compile because the MaintainPerson should not extend the class serverworkshop.intf.MaintainPerson
  • DIt compiles without errors

Unlock C2170-010 to see the answer

You've previewed enough free C2170-010 questions. Unlock C2170-010 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full C2170-010 Practice