The question is:
16. Which of the following are true about the Primary Key class in Entity
EJB?
a. It is used for identifying an Entity BEan according to the Bean type, remote interface and Container Context
b. It is used for identifying an Entity BEan according to the Bean type, home interface and Container Context
c. The definition of the Primary Key can be deferred until deployment
d. The primary key should override the equals() and hashCode() methods of the Object class
e. The primary key class cannot define constructors
answer: b,c,d
Can someone explain why we should select b and c. (d is easy to understand)?
Thank you