Technical requirements 1. Write the code in Netbeans IDE using the Scanner class from JDK 1.8. The user defined class mu
Posted: Sat Feb 19, 2022 3:21 pm
name and birthday as “inputs” and print out the inputs in the
command prompt console. No GUI interface is required.
The user inputs his/her name from the command prompt and the
name and birthday will then be outputted to the command prompt
console. The current date must also be outputted to the command
prompt.
Please follow the technical requirements!!!
Technical requirements 1. Write the code in Netbeans IDE using the Scanner class from JDK 1.8. The user defined class must be a fully qualified name in a proper package structure 2. Use a verbose user defined Class name which will describe the purpose of your program. 3. Explicitly define the default constructor. Overload the default constructor to accept a parameter of a VO object (see point 4 below) 4. Three global scope variables must be initialized with the current date, password and your birthdate in the VO object. Use setters and getters to initialize the class (global) scope variables. 5. The business tier must have the following business method public saveUserinputs(); 6. The DAO tier must have: public saveToFile() i. all data in the VO must be saved to a file. Use the FileOutputStream class • Remember that saving to a file is repeating code. Many methods in the DAO can save data to file. Use inheritance like a FileManager class 7. Clean and build the application periodically after specific code had been written 8. Throw new exception to inform the use of a friendly error message where appropriate 9. Create the main method (entry point). 10. Ensure you use proper Java coding conventions 11.3 Tier design is required 12. To run the application from the command prompt, use the following code as an example: java -jar helloworld.jar