We do have the following question:
Which are LEGAL declarations for a CMP beans's ejbCreate methods? (choose all that apply)
A - public void ejbCreateBigCustomer() throws javax.ejb.CreateException
B - public
String ejbCreateAccount() throws javax.ejb.CreateException
C - static String ejbCreate() throws javax.ejb.CreateException.
D - public int ejbCreate() throws javax.ejb.CreateException.
C - public final String ejbCreate() throws javax.ejb.CreateException.
The book says that the correct answer is option B.
My question is..why isn't the option D considered correct as well?
Tks so much!!!