Java.math.BigInteger Class Java.math.BigInteger.hashCode() Method - Java.math Package

What is Java math BigInteger hashCode() Method?

Description

The java.math.BigInteger.hashCode() returns the hash code for this BigInteger.

Declaration

Following is the declaration for java.math.BigInteger.hashCode() technique.

Overrides

Hash Code in class Object.

Parameters

NA

Return Value

This technique.returns the hash code for this BigInteger.

Exception

NA

Example

The following example shows the usage of math.BigInteger.hashCode()technique.

Let us compile and run the above program, this will produce the following result −


All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Java.math Package Topics