Java Creat A Folder Code Example

Snippet 1
  new File("pathToFile").mkdir();