Q.

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» C. Entities can have a single no-arg constructor with protected visibility.
1.2k
0
Do you find this helpful?
8

Discussion

No comments yet