Canonical name of a Java class is the name of the class along with the package . For example, the canonical name of the class File is java.
Read moreWhat is getClass () getSimpleName () in Java?
The getSimpleName() method of java. lang. Class class is used to get the simple name of this class , as given in the sourcecode. The method returns the simple name of this class in the form of String. If this class is anonymous, then this method returns empty string.25 Oca 2022
Read more