• + 2 comments

    Because BigInteger doesn't take int in its constructor but can take a string .So adding "" makes a integer , string .

    A nice way is to use valueOf() function of BigInteger class.