java.io provides support for input and output operations.
directory in disk
ObjectFilter
A File describes properties of a file, a File object is used to obtain or manipulate the information associated with a disk file, such as the permissions, time date, and directories path, and to navigate subdirectories.
String
isFile() returns true if called on a file and returns false when called on a directory.
FileInputStream
InputStream & OutputStream are designed for byte stream. Reader and writer are designed for character stream.
read()
Every method of OutputStream returns void and throws an IOExeption in case of errors.