the package of the class, or null if no package information is available from the archive or codebase.
Examples
package com.logicbig.example.clazz;
import java.util.Collection;
public class GetPackageExample {
public static void main(String... args) { Class<GetPackageExample> c = GetPackageExample.class; Package p = c.getPackage(); System.out.println(p.getName());