A quick Analogy to FileInputStream and RandamAccessFile would be a cassette/tape and a CD . You listen to audio on tape sequentially. whereas you can quickly jump to difference songs/sudio in case of CD.
Jumping around in RandamAccessFile can be done by using seek()
~ Pratibha Malhotra<br /> <br />Sun Certified Java Programmer<br />SCEA 1.4 (In Progress)<br />~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />"Many of life's failures are people who did not realize how close they were to success when they gave up!!"
There are 10 kinds of people in this world. Those that understand binary get this tiny ad: