In the section of Java Tutorial you will learn how to create directory using java program. This program also explains the process of creating all non-existent ancestor directories automatically. We will use the class File class to crate the directory.
Class File Here is the video tutorial of: "How to create directory in Java?"
The File class an abstract representation of file and directory pathnames. File class is used to interact with the files system.
Here is the video tutorial of: "How to create directory in Java?"Here is the code for creating directory and all non-existing ancestor directories:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: June 4, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles