Oracle
1Z0-900 · Question #21
1Z0-900 Question #21: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #21. The question stem and answer options stay visible for context.
Question
Given the code fragments: Which action completes this composite primary key implementation?
Exhibit
Options
- AAdd @IdClass annotation at line 1.
- BAdd @Embeddable annotation at line 1 and replace both @Id annotations with @EmbeddedId
- CAdd @IdClass(ContactId.class) annotation at line 2.
- DAdd @Embeddable annotation at line 1 and @EmbeddedId(ContactId.class) at line 2.
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 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.
