Introduction
Here is the source code for Main.java
Source
public class Main {
public static void main(String[] args) {
Main cl = new Main();
Class c1Class = cl.getClass();
// returns the name of the class
String name = c1Class.getName();
System.out.println(name);
}
}