What is a stream? what are the different types and classes
of Streams?
Answer Posted / janet
A stream is an abstraction that either produces or consumes
information.There are two types of Streams and they are :
ByteStreams: provide a convinient means for handling input
and output of bytes.
Character Streams: provide a convinient means for handling
input and output of characters.
Byte Streams classes: Are defined by using two abstract
classes ,namely InputStream and OutputStream.
Character Streams classes : Are defined by using two
abstract classes ,namely Reader and Writer.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is difference between an object and a class?
What is string literal in java?
What is locale?
Outline the major features of java.
Which is better list or arraylist in java?
How do you make an arraylist empty in java?
What is a instance variable?
Explain differences between collection api and stream api?
What is the purpose of the enableevents() method?
When can an object reference be cast to an interface reference in java programming?
What's the difference between comparison done by equals method and == operator?
What is the meaning of variable in research?
When is the finalize() called?
How to check if linked list contains loop in java?
What is the function of log?