Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.File;

public class Main {
    public static void main(String[] args) {

        // returns pathnames for files and directory
        File f = new File("C:/Texts/a/b/c");

        // create directories
        boolean bool = f.mkdirs();

        System.out.print("Directory created? " + bool);

    }
}