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
Explain the private field modifier?
What is byte code and why is it important to java’s use for internet programming?
What is a list in java?
What are java packages? What is the significance of packages?
What language is an assembler written in?
What are the three best choices for a development environment?
What are some examples of variable costs?
How dead lock situation occurs in java and how you can identify it?
Which list does not allow duplicates in java?
What is constant in programming?
What is functional interface in java example?
Tell me are there implementations for sorting and searching in the java libarary?
Can an arraylist be empty?
What are the ways to instantiate the class class?
Explain static nested classes ?