首先我写贴一个BigInteger的构造函数
这也就是说,我们在使用这个类的时候,若直接定义BigInteger类型,挺麻烦,需要先转换串在转换其他格式。
他们之间的关系是这样的 BigInteger ←→ String ←→ int
例如:
import java.math.BigInteger;
public class Test {
public static void main(String[] args) {
BigInteger a = new BigInteger("5");
int b = 2;
String s = "3";
System