FileDemo.java Source code

Java tutorial

Introduction

Here is the source code for FileDemo.java

Source

import java.io.File;

class FileDemo {

    public static void main(String args[]) throws Exception {

        // Display constants
        System.out.println("pathSeparatorChar = " + File.pathSeparatorChar);
        System.out.println("separatorChar = " + File.separatorChar);

    }
}