Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Random Access File

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Access File

    Good day..
    firstly, thank you for your quick reply.
    so far, i have four columns..
    Date(Integer) Name(String) Activity(String) Balance(Double)
    All the details are prompt..
    for the balance, i need to sum up to get the grand total
    thus, im not so sure, how to sum up a random access file..
    especially about the coding..Can i use the normal sumation coding like
    sum of record.getBalance..
    I have already attach the files for my simple account project and if possible may i know the coding for the summation?..
    i will attach another few files in the next thread..
    Thank you..
    Looking forward for your reply..
    AccountRecord.txt

    CreateRandomFile.txt

    FileEditor.txt

    MenuOption.txt

    RandomAccessAccountRecord.txt


  2. #2
    Junior Member
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Random Access File

    These are another few more files..

    ReadRandomFile.txt

    TransactionProcessor.txt

    WriteRandomFile.txt

    Thanks..

Similar Threads

  1. Generation of random number using random class
    By JavaPF in forum Java SE API Tutorials
    Replies: 1
    Last Post: December 7th, 2011, 04:46 PM
  2. Random Access File
    By silver_unicorn in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 10th, 2009, 10:44 PM
  3. Random numbers
    By Pooja Deshpande in forum Java SE APIs
    Replies: 8
    Last Post: June 5th, 2009, 04:36 AM
  4. [SOLVED] Random number method implementation
    By big_c in forum Java Theory & Questions
    Replies: 2
    Last Post: April 15th, 2009, 01:10 PM