The course assignment requires the development of a java score management system with the functions of query, modification, sorting, maximum value, and minimum value. To display in a form, the grade data is imported using an imported txt. Looking for general directions, do I need to use a database?
You said you want to use txt to save, but you also need to use a database?
It is much easier to operate with a database.
Use txt which is io stream. You must format the data well
otherwise it will be very troublesome to read.
It is still recommended to use a database.
If your data needs to be persisted, it is best to use a database. If your requirement is that the program is closed, the data should be initialized and the data types such as collections should be operated in memory during the running of the program
There is no need for a database, because you already have the data source. The basic thing is probably like this
Read the file into the memory => If the operation (query, modification, sorting) is modified, the memory data needs to be updated =>Close the file
What era is this homework? It is also displayed in a form.