+ 1
Best way to store connected data (except database)
I am supposed to write a program in java for my assignment to store data which is interconnected(like a database). I could even use arrays for example, but not a database to make this. Is there any better way than arrays?
6 Answers
+ 2
Objects are better than arrays to make smth like a database
+ 2
Xml.
+ 1
You can store them as json objects written in a file.
+ 1
oh ya. xml seems the best way ..thanx peeps
+ 1
you can make a database with objects.I mean objects are bigger than arrays with more information. For instance arrays are also like objects, but for smaller things ...
Objects are more accurate than arrays you can place more infoformation and it is easier to output the information in javascript and i know that java is an object-oriented programming language. So they have similar stuff (i don't know java, but i'm saying it from my expirience.I'm learning javascript but I know that programming languages have similar stuff)
0
thanks all for the ideas..
@Abdusamad Abdurashidkhonov can you please gimme a brief idea about Objects you meant..