Back to Top

Tuesday, 31 January 2012

JAVA: FileInputStream vs FileReader

Class FileInputStream:
  • It is use for reading stream of data from a file in the form of raw bytes(8-bit).
  • Very useful to read image.
  • It can also read character files.
Hierarchy of Class FileInputStream:
Hierarchy of Class FileInputStream in java

    Class FileReader: 
    • It is use to read stream of character data.
    • It can only read character data, so its the best way of reading character files.
     Hierarchy of Class FileReader:
    Hierarchy of Class FileReader in Java

      6 Responses to “ JAVA: FileInputStream vs FileReader ”

      Anonymous said...
      1 February 2012 at 12:02

      thank you

      anij said...
      5 March 2012 at 02:01

      wyc!! .... & Thanks for commenting! :)

      Anonymous said...
      20 March 2012 at 19:07

      excellent questions....i am a basic learner learning java at this time and i find interesting concepts.....

      anij said...
      22 March 2012 at 21:14

      Thanks for commenting!... If u have any questions regarding these topics feel free to ask me anytime!!

      Naviya Nair said...
      24 October 2016 at 15:14

      I have read your blog its very attractive and impressive. I like it your blog.

      Java Training in Chennai Java Training in Chennai | Core Java Training in Chennai

      Online Java Training Java 8 Online Training | Java J2EE Online Training | JavaEE Training Institute in Chennai Java Training Institutes

      Java Training Institutes in Chennai Java Training in Chennai

      Shanthi Cabs said...
      6 February 2019 at 12:33

      Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Best Travels in Madurai | Tours and Travels in Madurai | Madurai Travels

      Post a Comment

      Popular Posts

      Subscribe via Email
      Subscribe Java Interview Questions via Email
      All Rights Reserved JAVA INTERVIEW QUESTIONS | Privacy Policy | Anijit Sarkar
      blog links Web Directory Academics Blogs