Beruflich Dokumente
Kultur Dokumente
BCA (SEM-V)
SUBJECT : Advance Java
ASSIGNMENT – I
Que 1. Do as directed:
1.available() method returns total number of remaining bytes that can be read
2.from this input stream without blocking.(True/False)
3.The classes used for Disk File handling are ____ and _____.
4.The I/O related classes are availabe in ______ package.
5.The InputStreamReader class converts _____ stream to _____stream.
6.The _____ class is used only to know the details about the file.
7.________ method returns -1 when end of file is encounterd.
8.7. Which method of RandomAccessFile will return the current location of the
file pointer?
9.Which method of RandomAccessFile class will move our pointer in file class.
10.Which method flushes the stream?
11.For the abstract classes, Object cannot be created but references of this type
can be declared.(True/False)
12.______ method sends any buffered byte to its destination.
13.The InputStreamReader class converts ____stream to ___________stream.
14.Java provides ____________package for reading and writing streams.
15.All the data in java is treated in _____ and ____ streams
16._____ method sends any buffered byte to its destination.
17._____ and _______class is used to read/write an object to/from file.
18.The InputStreamReader class converts _____ stream to _____ Stream.
19.Draw the hierarchy for InputStream Class
20.Draw the hierarchy for OutputStream Class
21.Draw the hierarchy for Reader Class
22.Draw the hierarchy for Writer Class
23.A stream can be defined as a sequence of data. (True / False)
24.File class can be used to read and write bytes into a file. (True / False)
25.In byte stream, data are accessed as a sequence of bytes. (True / False)
26.OutputStreamWriter converts byte stream to character stream. (True / False)