Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.GregorianCalendar;

public class Main {

    public static void main(String[] args) {

        // create a new Main object
        GregorianCalendar cal = new GregorianCalendar();

        // print the class of cal
        System.out.println(cal.getClass());

    }
}