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
Why is inheritance used in java?
What is static variable with example?
Which software is used for java programming?
What does this mean java?
How do you calculate square roots?
How do you read a char in java?
What is classpath?
Differentiate between == and equals().
What is the difference between a local variable and an instance variable?
What is java algorithm?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
What is a package in java? List down various advantages of packages.
Can a class have multiple constructors?
What is the use of beaninfo?
What is a Transient Object?