Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] unused) {
        try {
            Class d = Class.forName("java.util.Date");
            System.out.println(d.getDeclaredAnnotations().length);

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

}