Java Arrays deepHashCode方法


Java Arrays deepHashCode方法

package com.codingdict;

import java.util.Arrays;

public class ArrayDemo {
   public static void main(String[] args) {

      //initializing an object array
      Object[] ob = { "tuts","point" };

      // deephashcode for object ob
      int retval = Arrays.deepHashCode(ob);

      // printing value
      System.out.println("The Hash Code of ob is:" + retval);
   }
}