Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Alex Meyer   on Aug 30 In Java Category.

  
Question Answered By: Willis Hill   on Aug 30

wat u are asking for can easily done...using files...if u could go through the
documentation ...i wl give u a hint...try using random access files

The following code creates a RandomAccessFile to read the file  named
farrago.txt:
new RandomAccessFile("farrago.txt", "r");
And this one opens the same file for both reading and writing:
new RandomAccessFile("farrago.txt", "rw");

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Java File Handling Or get search suggestion and latest updates.


Tagged: