title: How to create a directory and sub directory structure with java?
body: <p>Hello there I want to create the directories and sub directories with the java.
  My directory structure is starts from the current application directory, Means in current projects directory which looks like following...</p>
  
  <pre><code>Images
     |
     |+ Background
     |
     |+ Foreground
            |
            |+Necklace
            |+Earrings
            |+Etc...
  </code></pre>
  
  <p>I know how to create directory but I need to create sub directory I tried with following code what should be next steps ?</p>
  
  <pre><code>File file = new File("Images");
  file.mkdir();
  </code></pre>