MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
pathSeparatorChar = ;  
 */

import java.io.File;

public class MainClass {

    public static void main(String args[]) {

        try {

            System.out.println("pathSeparatorChar = " + File.pathSeparatorChar);

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}