From the above statment you are assigning 130 to a byte b.but the byte can hold the value in between 127 to -128. so if you store value greater than 127 it will go to negative half for example if you store 128 means it will take as -128 and 129 means -127 and it will go like that.
Or else you can think in this way...
130 can be represented in binary form as 10000010. here the first bit(from left) indicates whether it is a positve or negative number.if it is set it indicates negative number.so take the 2's complement for the number 130
hello i am having doubts about the type of transaction ie required,require new,mandatory... that we use in ejb-jar,xml file.i need the differnce btween these transaction. which one is more feasible and why?