c_8_1_understandingFilesAndDirectories
c_8_4_interactingWithUsers
Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
Read and write data from the console
Use the following classes from java.io.package:
BufferedReader
BufferedWriter
File
FileReader
FileWriter
FileInputStream
FileOutputStream
ObjectOutputStream
ObjectInputSttream
PrinterWriter
Understand files, directories, and streams.
Be able to use java.io.File
class.
This class has methods for creating/deleting files/directories and obtain a list of files within a directory
Distinguish between byte and character streams
Byte streams have the word InputStream
/OutputStream
in their name and are useful for binary data
Character streams have the word Reader
/Writer
in their name=
Be able to use the following classes:
BufferedReader
BufferedWriter
File
FileWriter
FileReader
FileInputStream
FileOutputStream
ObjectInputStream
ObjectOutputStream
PrintWriter
Be able to perform stream operations like:
markSupported
/mark(int)
reset()
/skip
Understand how to use Java Serialization using ObjectInputStream
/ObjectOutputStream
Be able to interact with user via Console
class
You can’t perform that action at this time.