Java Data Type Tutorial - Java BigInteger ZERO








Syntax

BigInteger.ZERO has the following syntax.

public static final BigInteger ZERO

Example

In the following code shows how to use BigInteger.ZERO field.

import java.math.BigInteger;

public class Main {
  public static void main(String[] args) {
    BigInteger numberB = BigInteger.ZERO;

  }
}