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 4 of 4

Thread: hi, can any one please tell me differences between these I/O streams

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    28
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default hi, can any one please tell me differences between these I/O streams

    hi i want to know the difference between these streams/Functions. they all do same thing as far as i knw.
    1- BufferedReader / FileReader / FileInputStream / DataInputStream
    2- PrintWriter / FileWriter / FileOutputStream / DataOutputStream
    can u please explain me bit. i will be grateful to u on your this act of kindness.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: hi, can any one please tell me differences between these I/O streams

    Start by reading the API doc for each class. If you have questions about what the doc says, copy the doc here with your questions.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    May 2012
    Posts
    28
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: hi, can any one please tell me differences between these I/O streams

    I have read all the docs.
    i knw the use of all.. but cant just figure out the differences.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: hi, can any one please tell me differences between these I/O streams

    I'm sure the docs read differently for each class and describe how the classes are for different usages.
    Have you read the tutorial:
    Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)

    Read the I/O Streams part.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Replies: 7
    Last Post: March 2nd, 2012, 09:41 AM
  2. Two different streams at same time
    By ToshX in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: November 4th, 2011, 02:55 PM
  3. what is differences between the methods next() and nextLine()?
    By tuanvu_n in forum Java Theory & Questions
    Replies: 2
    Last Post: April 15th, 2011, 10:47 AM
  4. Difference between input.next and findInLine(".")charat(0)
    By lotus in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: July 6th, 2009, 05:10 AM
  5. Differences Between Java and C,C++
    By sriraj.kundan in forum Java Theory & Questions
    Replies: 2
    Last Post: June 20th, 2009, 01:11 PM