BigInteger.TEN in Java

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

Syntax:

BigInteger java.math.BigInteger.TEN

The BigInteger constant ten.

Approach

Java

import java.math.BigInteger;

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

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

Output:

10

No comments:

Post a Comment