get name of current class java code example
Example 1: getting class name in java
a.getClass().getName();
Example 2: java get class name of object
myObject.getClass().getName()
a.getClass().getName();
myObject.getClass().getName()