

McqMate
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. |
View all MCQs in
Enterprise Computing With JAVANo comments yet