nerdexam
Oracle

1Z0-815 · Question #69

1Z0-815 Question #69: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-815 to reveal the answer and full explanation for question #69. The question stem and answer options stay visible for context.

Question

Given: Which two allow a.Main to allocate a new Person? (Choose two.)

Exhibit

1Z0-815 question #69 exhibit

Options

  • AIn Line 1, change the access modifier to private
  • BIn Line 1, change the access modifier to public
  • CIn Line 2, add extends Person to the Main class
  • DIn Line 2, change the access modifier to protected protected class Main {
  • EIn Line 1, remove the access modifier

Unlock 1Z0-815 to see the answer

You've previewed enough free 1Z0-815 questions. Unlock 1Z0-815 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 1Z0-815 Practice