Computer Science, asked by sophiamaryvincent, 16 days ago

write a mini application which reads Student data from a comma separated flat file and stores them in a list the application then prompts the user the following options :
1.Add a new student
2.Update an existing student.
3.Remove an existing student.
4.List all students (display as per insertion order)
5.Sort students
6.Exit
for option 5,when the user chooses that, they should be prompted with another set of option to sort the students :
1.Sort by name
2.Sort by marks
3.Sort by Age
for any invalid inputs, use custom exceptions to throw from the service layer, catch them appropriately in the user interaction layer and display a readable text message about it.No stack trace or exception messages should be shown to the user as such ​

Answers

Answered by roypereira08
0

Answer:

To read a character in Java, we use next() of the Scanner class method followed by chatAt() at method of the String class.

To read a character in Java, we use next() of the Scanner class method followed by chatAt() at method of the String class.

Explanation:

To read a character in Java, we use next() of the Scanner class method followed by chatAt() at method of the String class.

Similar questions