0

How can I save data in java without database?

I have a mini-project to create a quizz program with java having interface for teachers to add questions and another one for students to take the quizzes and get scores so my question is how can i save the questions that the teacher tapes without using database? Thank you in advance

11th Nov 2021, 9:01 PM
Nidhal Tijani
Nidhal Tijani - avatar
2 Antworten
+ 6
Nidhal Tijani , it depends on the complexity of the data you are going to save. xml can be a possible solution, but this needs some experience. an easier way is using json format. this is what i would recommend. as lisa mentioned we also can use txt file, but should be csv formatted, which makes it easier to read and extract data.
11th Nov 2021, 9:33 PM
Lothar
Lothar - avatar
+ 5
You could simply write the data to a text file
11th Nov 2021, 9:11 PM
Lisa
Lisa - avatar