Print the class

I have an object of a class. I would like to print the class name. How to print the class name using object handle?

In reply to Ravi007:

Classes do not have string names unless you declare a property string name as a member. You also need code to set the name when you construct the class. The UVM has a base class uvm_object that does this for you.