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 modifiers are allowed for methods in an interface?
What is the difference between static class and normal class?
What is default switch case? Give example.
What is java and their uses?
What are the different ways of implementing thread? Which one is more advantageous?
What is the vector class in java programming?
What environment variables do I need to set on my machine in order to be able to run java programs?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is meant by object?
What are the different approaches to implement a function to generate a random number?
How would you format a date in java? I.e. In the ddmmyyy format?
How many bytes is a string?
Explain about static nested classes in java?
What is the difference between processes and threads?