Core Java Interview What is the difference between Filereader and FileInputStream

Java

Video is ready, Click Here to View ×


http://www.interviewdot.com

Welcome to www.InterviewDot.com How to prepare for Java interview Questions :

Top Java Interview Questions and Answers :

1.What is the difference between “FileReader” and “FileStream” ?

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.

Class FileInputStream:

It is use for reading stream of data from a file in the form of raw bytes(8-bit).
Very useful to…

1 thought on “Core Java Interview What is the difference between Filereader and FileInputStream

Leave a Reply

Your email address will not be published. Required fields are marked *