Hi abhi,
I think it�s a good idea what you are doing, practicing with some small programs. I�d like to suggest a different exercise. Something like this:
Step 1. Read and write records to a RandomAccessFile.
All records have the same length. A record has 3 fields. The first field is an integer (4 bytes, binary data). The second field is ASCII text padded with spaces. The third field is ASCII digits padded with spaces.
Step 2. Create a GUI with a JTable and a TableModel (and a menu and some buttons, if you want). Read the records from the RandomAccessFile and display them in the JTable. Change the values in the JTable and update the record in the file.
To learn how to use JTables and the TableModel,
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html Marlene