CAN ANY GOOD IN FILES ? SO PLEASE EXPLAIN ON DIFFERENCES BETWEEN (FILE OUTPUT & FILE INPUT) AND RANDOM ACESSFILE SO WHEN U GO RANDOMM ACEES AND WHENU GO FOR FILE INPUT OR OUTPUT STREAM WITH A LITTLE UNDERSTANDIN THANKYOU SURESH
Joined: Nov 22, 2008
When one uses sequential input or output, its better to use the bac=sic i/o streams, but when we use RandomAccessFile the overheads are high due to the fact that it has to use native methods for access both forward and backward from a file. Try avoiding Random Access as much as possible. If they can be done with basic i/o, avoid it. Hope this helps.