This is an example of how to get the package name of a class. Getting the package name of a class implies that you should: Create a new object of the class. Use getClass() API method of Object for the class to get the runtime class of this object. The returned Class object is the object ...
↧