answersLogoWhite

0

An instance of a Reader class reads characters

An instance of InputStream class reads bytes.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the difference between read and readline in java?

It depends on the context, but generally read() will return a single byte of data from a Reader or InputStream, while readLine() will read characters from a Reader until a newline is found. and this method is deprecated now.and this is a method of DataInputStram class


Can a single Java class subclass extend both InputStream and Reader. True or False?

Java does not have multiple inheritance, so no. Java can use multiple interfaces, though, with the "implements" keyword.


Difference between input stream class and writer class?

The InputStream is an abstract class of the type input stream class. Every other input stream class is a sub class of InputStream class. Various methods defined therein to perform functions such as reading data bytes, closing streams, marking position in a file. On the other hand, The Writer class is an output stream that supports writing of Unicode characters. It is an abstract class that cannot be directly instantiated. Its subclasses inherit all its properties of writing data characters, using output stream, into the data files. by Raaj.1971 at the rate of yahoo dot com


What's the difference between the Class 365 and Class 465 466?

The difference between the Class 365 and Class 465, 466 is basically the cost.


Difference between exclusive or inclusive class intervals?

difference between inclusive and exclusive class interval


What is difference between first class and second class on train trips?

What is the difference between buying a 1st class and a 2nd class ticket on the train in England?


What is the price difference between first class and economy class tickets for this flight?

The price difference between first class and economy class tickets for this flight is 500.


What is the difference between a class What is the difference between a class III and class IV hitch and?

class III rated for up to 5,000lbs, class IV is rated for up to 10,000lbs towing capacity


What is the difference between abstract class and final class?

20


Difference between Mercedes e class elegance and classic?

What is the difference between Mercedes Benz E class 'Elegance'and classic


What is the difference between classes of IP addresses?

difference between ip address and class


What is the Difference between b and c class MS pipe?

The main difference is the thickness of the pipe Compare to A Class pipe B Class pipe thickness is more.Like that Compare to B class pipe C Class pipe thickness is more.