1.

Which statement about entities is correct?

A. Entities must be annotated with the @Entity annotation.
B. Entities can be final classes.
C. Entities can have a single no-arg constructor with protected visibility.
D. Instance variables of an entity can have private, protected, public, or package visibility.
Answer» D. Instance variables of an entity can have private, protected, public, or package visibility.


Discussion

No Comment Found