Level 97 Level 99
Level 98

[No Typing] Files: Creating Directories


7 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
mkdir()
method creates a directory, returning true on success and false on failure.
mkdirs()
creates both a directory and all the parents of the directory
list()
to list down all the files and directories available in a directory
DataInputStream
used in the context of DataOutputStream and can be used to read primitives.
FileOutputStream
sed to create a file and write data into it.
public void close() throws IOException{}
This method closes the file output stream. Releases any system resources associated with the file. Throws an IOException
public void write(byte[] w)
Writes w.length bytes from the mentioned byte array to the OutputStream.