BigInteger.ZERO in Java

BigInteger.ZERO: This is available in java.math.BigInteger class of Java.

Syntax:

BigInteger java.math.BigInteger.ZERO

The BigInteger constant is zero.

Approach

Java

import java.math.BigInteger;

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

        System.out.println(BigInteger.ZERO);
    }
}

Output:

0

No comments:

Post a Comment