So for saving data, I am using a JSON file, I watched some tutorials and some people has a file ending with .js and the others .java. What should it look like? What type of a file should it be.
And if its a java file is it possible to write into it and edit it from a different class?
If anyone did this part and have any ideas please let me know :)