nerdexam
Oracle

1Z0-860 · Question #145

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

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

Question

Given: 11.〦ntity public class X{ 12. @ld int id; 13. Y y; 14.} A public class Y with NO Java Persistence annotations is defined in the same package. Which statement is correct about these classes if NO other annotations and mapping descriptors are provided?

Options

  • AClass Y must be serializable.
  • BClass Y must be marked as an entity.
  • CThe entity X is not defined correctly.The field y must be marked as @Lob.
  • DClass Y must be accessed by a persistence application through a public interface.

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