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

      5 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.....
      thankyou....


      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


      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