Oracle
1Z0-860 · Question #264
1Z0-860 Question #264: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #264. The question stem and answer options stay visible for context.
Question
Consider a deep inheritance hierarchy consisting of Java Persistence entity classes, non-entities, and mapped superclasses. Which statement is correct, assuming NO mapping descriptor is present?
Options
- AAn entity class must NOT inherit from a non-entity class.
- BAn entity class must NOT be extended by a non-entity class.
- COnly the root class in an inheritance hierarchy can be annotated wtith @MappedSuperclass.
- DThe primary key must either be defined in the topmost entity class of the inheritance hierarchy or it can
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.