Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String getClassBasename(Object object) {
return getBasename(object.getClass());
}
public static String getBasename(Class theClass) {
return theClass.getName().replaceAll(".*\\.", "");
}
}