nerdexam
Oracle

1Z0-819 · Question #17

1Z0-819 Question #17: Real Exam Question with Answer & Explanation

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

Question

Given:
public interface Builder {
 public A build(String str);
}
and
public class BuilderImpl implements Builder {
 @Override
 public B build(String str) {
 return new B(str);
 }
}
Assuming that this code compiles correctly, which three statements are true? (Choose three.)

Options

  • AB cannot be abstract.
  • BB is a subtype of A.
  • CA cannot be abstract.
  • DB cannot be final.
  • EA is not final.
  • FA is a subtype of B.

Unlock 1Z0-819 to see the answer

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