Java tutorial
import java.util.Arrays; public class Main { public static void main(String[] args) { byte[] bval = new byte[] { 10, 45 }; System.out.println(Arrays.hashCode(bval)); System.out.println(bval.hashCode()); } }