Name String Mobilenumber String Username String Password String
Name String Mobilenumber String Username String Password String
File Writing
Use FileWriter and BufferedWriter to write the data to a file. As a first thing, we are
gonna create a file that contains the record of all the users registered. So write a
program that can write all the user details from the console into a file "output.csv".
Strictly adhere to the Object-Oriented specifications given in the problem statement. All class
names, attribute names, and method names should be the same as specified in the problem
statement.
Consider the class Main and use the main method to get the details from the user.
Input format:
The first line of input consists of an integer that corresponds to the number of users.
The next n line of input consists of user details in the CSV format (name,
mobileNumber, username, password)
Refer to sample Input for other further details.
Output format: