+ 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?

19th Aug 2017, 3:14 AM
Haphix
Haphix - avatar
6 ответов
+ 2
Objects are better than arrays to make smth like a database
19th Aug 2017, 3:16 AM
Abdusamad Abdurashidkhonov
Abdusamad Abdurashidkhonov - avatar
+ 2
Xml.
19th Aug 2017, 6:37 AM
Bagshot
Bagshot - avatar
+ 1
You can store them as json objects written in a file.
19th Aug 2017, 3:16 AM
Salekin
Salekin - avatar
+ 1
oh ya. xml seems the best way ..thanx peeps
19th Aug 2017, 5:48 PM
Haphix
Haphix - avatar
+ 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)
22nd Aug 2017, 8:28 AM
Abdusamad Abdurashidkhonov
Abdusamad Abdurashidkhonov - avatar
0
thanks all for the ideas.. @Abdusamad Abdurashidkhonov can you please gimme a brief idea about Objects you meant..
19th Aug 2017, 7:50 AM
Haphix
Haphix - avatar