Oracle
1Z0-898 · Question #29
1Z0-898 Question #29: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-898 to reveal the answer and full explanation for question #29. The question stem and answer options stay visible for context.
Question
The embeddable class ContractInformation is used in an element collection of the Employee entity. @Entity Public class Employee { @Id int empId; @ElementaryCollection Set <ContractInformation> info; . . . } Assume that the phone class is an entity and that address is an embedded class. Which two of the code segments below can be used to model the state of ContractInformation? (Choose two)
Options
- A@OneToMany Set <phone> phones;
- B@Embeddable Address address;
- C@ManyToOne phone phone;
- D@ElementaryCollection <Phone> phones;
- E@OneToOne Address address;
Unlock 1Z0-898 to see the answer
You've previewed enough free 1Z0-898 questions. Unlock 1Z0-898 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.