what is classname.class in java code example Example: getting class name in java a.getClass().getName();