The mkdir() method creates the directory with the given name.
2. Method signature
- method does not take any parameter
- true - if the directory was created; false otherwise
- SecurityException - when we do not have access to the file or directory
3.1. Code that creates
ttt directory in
In this article, we focused on
mkdir() method from Java IO, which created directory with the specified name and returns true if the directory was successfully created.