What will happen if we dont have no-arg constructor in Entity Bean?

If you don’t define any constructors, the compiler will generate the default one , as described in the JLS: If a class contains no constructor declarations, then a default constructor with no formal parameters and no throws clause is implicitly declared.

Sizin İçin Seçtik  Kamusal mal ve hizmetler nelerdir?

Leave a Reply

Your email address will not be published. Required fields are marked *