Java Interview Questions and Answers for Beginners Pdf - 1
Question: 1
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
The Reader/Writer class hierarchy is character oriented, and the InputStream and OutputStream class hierarchy is byte oriented.
Question: 2
What is the purpose of the file class?
The File class is used to create objects that provide access to the files and directories of a local file system.
Question: 3
What is an I/O filter?
An I/O filter is an object that reads from one stream and writes to another usually altering the data in some way as it passed from one stream to another.
Question: 4
What happens to the object references included in the object?
The serialization mechanism generates an object graph for serialization.
Thus it determines whether the included object references are serializable or not, this is a recursive process.
Thus when an object is serialized, all the included objects are also serializable along with the original object.
1000+ TNPSC Group 1 Previous Year Question Paper Pdf More
1000+ TNPSC Chemistry Study Materials Pdf More
TNPSC Group 1 Last 10 Years Question Papers with Answers Pdf More
1000+ General English Quiz Questions and Answers Pdf More
5001+ General English MCQ for Competitive Exam Pdf More
Top 100+ Indian Geography Quiz Questions and Answers More
Vijayanagara and Bahmani Objective Type Questions and Answers More
TNPSC Group 1, 2, 2a, 4, VAO Zoology Question Paper with Answers More
Top 1000+ Puzzle Quiz for Bank Exams More
1000+ IBPS Exam Aptitude Questions and Answers More