BigInteger.TWO: This is available in java.math.BigInteger class of Java.
Syntax:
BigInteger java.math.BigInteger.TWO
The BigInteger constant two.
Approach
Java
import java.math.BigInteger;public class BigIntegerTWO {public static void main(String[] args) {System.out.println(BigInteger.TWO);}}
Output:
2
No comments:
Post a Comment