Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.Properties;

public class Main {

    public static void main(String[] args) throws Exception {
        Properties prop = new Properties();

        prop.put("Chapter Count", "200");
        prop.put("Tutorial Count", "150");
        prop.put("tutorial", "java2s.com");
        prop.put("Runnable", "true");

        // print the list with System.out
        prop.list(System.out);

    }
}