
Write a Java application that prompts the user to input their Name, Address, Date of Birth and Student ID number using the standard input - this information should then be saved to a file named studentData. The program should use the FileWriter class and an appropriate processing stream to handle the data output.
Create a separate class to read in that file, line by line, and output it to the console with the line number. The program should create a FileReader object and pass this in the constructor of a LineNumberReader object to handle the file reading required.
System.in - this information should then be saved to a file named studentData. The program should use the FileWriter class and an appropriate processing stream to handle the data output.FileReader object and pass this in the constructor of a LineNumberReader object to handle the file reading required.