nerdexam
Oracle

1Z0-860 · Question #180

1Z0-860 Question #180: Real Exam Question with Answer & Explanation

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

Question

A developer wants to implement an association relationship between CarModel and CarManufacturer. Every car model is produced by a single manufacturer and every manufacturer produces many car models. While in this application it is essential to quickly determine the manufacturer of a model it is NOT necessary to determine which models a manufacturer produces. Given these requirements, which is an appropriate solution?

Options

  • AIn CarModel class, declare an attribute of type CarManufacturer and annotate it with @OneToMany.
  • BIn CarModel class, declare an attribute of type CarManufacturer and annotate it with @ManyToOne.
  • CIn CarManufacturer class, declare an attribute of type CarModel and annotate it with @OneToMany.
  • DIn CarManufacturer class, declare an attribute of type Collection<CarModel> and annotate it with
  • EIn CarModel class, declare an attribute of type Collection<CarManufacturer> and annotate it with

Unlock 1Z0-860 to see the answer

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