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;
/* ww w. j a v  a  2s.com*/
public class Main {
  public static void main(String[] args) {
    BigInteger numberB = BigInteger.ZERO;

  }
}




















Home »
  Java Tutorial »
    java.math »




BigDecimal
BigInteger