Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is a Byte Stream?
Think about files that you can open and view as binary.
Name one class used for writing character data.
Remember, the character streams are specifically for text.
What is the purpose of Java I/O?
Consider the definition of I/O!
True or False: FileInputStream is a class used to write binary data.
Think about what the names imply!
Develop a small program using BufferedWriter to write a series of integers to a file and then read them back using BufferedReader.
Think about how to structure file operations - open, write, then close.
Discuss the scenarios where RandomAccessFile would be preferred over traditional sequential file handling.
Consider your workflow: do you need to read from the start to the end or access specific sections?
5 more questions in this section. Enroll free to practise them all.
Enroll free