Home  >  Q&A  >  body text

Java score management system?

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?

ringa_leeringa_lee2686 days ago1039

reply all(4)I'll reply

  • 迷茫

    迷茫2017-06-12 09:24:53

    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.

    reply
    0
  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-12 09:24:53

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-06-12 09:24:53

    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

    reply
    0
  • typecho

    typecho2017-06-12 09:24:53

    What era is this homework? It is also displayed in a form.

    reply
    0
  • Cancelreply