java.lang.Package.hashCode()


java.lang.Package.hashCode()

package com.codingdict;



public class PackageDemo {



   public static void main(String[] args) {



      // get the java lang package

      Package pack = Package.getPackage("java.lang");



      // print the hash code computed for this package

      System.out.println("" + pack.hashCode());

   }

}