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
2 Respuestas
+ 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.
+ 5
You could simply write the data to a text file