The document discusses common questions about Java input/output (I/O) streams. It covers types of I/O streams like InputStream, OutputStream, Reader, and Writer. It also mentions the RandomAccessFile class, file access modes, stream packages, add-on classes like DataInputStream for reading primitive data types, Buffered classes for speeding up I/O, character conversion classes, the File class for file system operations, the '/' path separator, filtering files by extension using FilenameFilter, object serialization, and archiving classes.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
23 views
Java IO Study Material
The document discusses common questions about Java input/output (I/O) streams. It covers types of I/O streams like InputStream, OutputStream, Reader, and Writer. It also mentions the RandomAccessFile class, file access modes, stream packages, add-on classes like DataInputStream for reading primitive data types, Buffered classes for speeding up I/O, character conversion classes, the File class for file system operations, the '/' path separator, filtering files by extension using FilenameFilter, object serialization, and archiving classes.
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
Java IO Interview Questions
What are the types of I / O streams?
What are the main ancestors of I / O streams? What is common and how do the following streams differ: InputStream, OutputStream, Reader, Writer? What do you know about RandomAccessFile? What are the file access modes? What packages are stream classes in? What do you know about add-on classes? Which superstructure class allows reading data from an input byte stream in the format of primitive data types? What class add-on allows you to speed up reading / writing by using a buffer? What classes allow you to convert byte streams to character and back? What class is designed to work with the elements of the file system (EFS)? Which symbol is a separator when indicating the path to the EFS? How to select all EFS of a specific catalog by criterion (for example, with a certain extension)? What do you know about the FilenameFilter interface? What is serialization? What are the conditions for �successful� serialization of an object? What classes allow you to archive objects?