How to create directory in Java

In this tutorial, I am writing simple program about How to create directory in Java.

The new directory can be created using Java with help of mkdir() method. Which is part of class. If the directory is created successfully it will return true. It will return false if the directory is already available. The example program were attached in the post.


1. Java API Documentation