The code instuctors in my project, say I need default constructors.
but I don't know why.
As I know the default constructors are automatically added and compiled by the jvm unless any constructors other than default constructor exist.
if default constructor is not there, and I use the default consturctor compile time error found.
any comments are welcomed.
Thanks.
but I don't know why.
As I know the default constructors are automatically added and compiled by the jvm unless any constructors other than default constructor exist.
if default constructor is not there, and I use the default consturctor compile time error found.
any comments are welcomed.
Thanks.