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 pro
You can just use file.mkdirs(), it will create sub-directory.
file.mkdirs()
String path = images + File.separator + Background + File.separator + Foreground + File.separator + Necklace + File.separator + Earrings ; File file = new File( path ); file.mkdirs();