public static void main(String[] args){
int res = (int)Math.pow(2017, 202);
System.out.println(res);
}
This outputs 2147483647
Which is obviously wrong and if i type in other exponents the output remains the same. How do i remove this cap and what is causing it?