130L has its lower (rightmost )8 bits as :-
10000010
All the rest bits to the left are zeros.
When you narrow a primitive,
Java simply truncates the higher-order bits that won't fit.
So, all the zeros to the left are get truncated and we rae left with
10000010 (which is a negative no. as the sign bit is 1).
Now what is it's value?
Get the 2's complement as follows :--
01111101 + 1 = 01111110 which is 126.
So, the result is -126.