Lets consider below lines of code.
1- int ExA = Integer.parseInt("123");
2- int ExB = Integer.parseInt("2147483660");
if we execute line 1 than variable ExA will be successfully populated by 123
but if we execute line 2 than we will "NumberFormatException" because in line 2 number provided to the 'parseInt' function is beyond int range.
I am looking for a solution where I can get overflowed int value if we have a number in string format whose value is beyond int range. Please help me figuring out.