1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

files in java

Discussion in 'Java' started by Zahid, Apr 6, 2007.

  1. Zahid

    Zahid New Member

    Joined:
    Apr 6, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I am new to files in java. I cannot able to understand the difference between FileInputStream and FileReader. Can u help me

    Thank you,
    Regards.
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    Posted in wrong section!
     
  3. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    The Main difference is
    Streams - Byte Based(Read or write Bytes)[Mainly used for Binary files)
    Reader - Character Based(Read or Write Character)[for Text files]
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    Moved to the java forum.
     

Share This Page