Atmiya Institute of
Technology & Science
Department of
M.C.A.
M.C.A. Semester - III
630002
– Fundamental of Java Programming (JAVA)
Assignment
– 3 (Stream based I/O)
Date : 29/10/2010 No
Submission Date
-------------------------------------------------------------------------------
Explain
Following question in detail
1). What is
stream classes?
2). Explain
OutputStream with basic methods and constuctors and sub classes. Draw a diagram
of OutputStream.
3). Explain
InputStream with basic methods and constuctors and sub classes. Draw a diagram
of InputStream.? Explain blocking methods also?
4). Explain
Reader with basic methods and constuctors and sub classes. Draw a diagram of
Reader abstract class.
5). Explain
Writer with basic methods and constuctors and sub classes. Draw a diagram of
Writer abstract class.
6).Explain
FileInputStream and FileOutputStream with constructors and methods? Give small
example of read and write into file.
7). Explain
FileReader and FileWriter with constructors and methods? Give small example of
read and write into file.
8). Explain
Piped Streams in detail?
9).Explain Array
based streams with methods and constructors? (Byte and Char based Streams)
10).Explain
Filter Streams with constructor and subclasses?
11). Explain
Buffered Streams with constructor?
12). Explain
PrintStream and PrintWriter with methods and constructors?
13). Explain
Data and Object Streams with constructor and methods?
14). Explain
Random Access File with methods and constructors? Give small example of read,
write and append into file?
Differentiate
the follwing
|
|
flush() Vs reset()
|
|
|
Byte Streams Vs Char Streams
|
|
|
OutputStream
Vs InputStream
|
|
|
OutputStream
Vs Writer
|
|
|
Reader Vs
Writer
|
|
|
Reader Vs
InputStream
|
|
|
ByteArrayInputStream
Vs CharArrayOutputStream
|
|
|
ByteArrayOutputStream
Vs CharArratOutputStream
|
|
|
BufferedOutputStream
Vs BufferedInputStream
|
|
|
BufferedWriter
Vs BufferedReader
|
|
|
PrintStream
Vs PrintWriter
|
|
|
FilterInputStream
Vs FilterOutputStream
|
|
|
FilterReader
Vs FilterWriter
|
|
|
mark Vs
markSupported()
|