Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What are byte streams used for?
Think about the type of data.
List one example of a character stream class.
Consider classes dealing with text.
Which of the following is a byte stream class?
Remember the classes that handle binary data.
True or False: Java NIO is only useful for small files.
Think about the advantages of NIO.
Create a Java program that uses NIO to watch for changes in a specified directory and print out the type of event that occurs.
Focus on setting up the WatchService and registering the directory.
Design a system that utilizes memory-mapped files to manipulate a large dataset efficiently. Outline your approach and show code snippets.
Plan mapping the file and think about data manipulations on that mapped buffer.
5 more questions in this section. Enroll free to practise them all.
Enroll free