SyntaxFix
Write A Post
Hire A Developer
Questions
You must have to define no-args or default constructor if you are creating your own constructor.
You can read why default or no argument constructor is required.
why-default-or-no-argument-constructor-java-class.html