MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import java.util.Date;

public class MainClass {

    public static void main(String[] args) {
        Date now = new Date();
        System.out.printf("localized, abbreviated day: %ta/%Ta\n", now, now);
    }
}