I am wondering how do I work with the database file db-1x3.db? I am able to view it on microsoft word with a lot of garbage characters showing up. Is there another program that I can open the .db file with? Also, to access the file (read/write), do I just do normal file io to that file? I've read the spec and am a little bit confused. Thanks.
As Mihai says, the data file is a binary file, and you would need a hex editor to view it if you have not yet developed your Data class. The format of the file is a proprietary format designed by Sun, so there is no magic editor that readily understands the data file format.
And yes, you use normal io classes to read and write the file. The instructions should tell you the format of the file itself. You could use DataInputStream and DataOutputStream, or you could use RandomAccessFile, or you could use some of the NIO classes - it is all up to you.