package corejava;

class Sub {
	public Sub(String myname) {
	}
}

public class ObjectClass {
	public static void main(String args[]) {
		Sub s = new Sub("Ankit");
		Class classname = s.getClass();
		System.out.println(classname.getName());
	}
}
