What is wrong with the following piece of code ?
class OperationOnLong {
public static void main(
String arg[]){
int i=10000;
long l = 4000000000L;
int j =(int) (i+l);//This line will cause compilation error
System.out.println("The value of j : "+j);
}//end of main
}//End of class
The answer is :-294957296
Can anyone explain what is going on ??