java get object class name 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()