Hi,
see byte limit is -128 to 127 and here
b2=b1+1//means b2=33+1=34(which also comes under byte limit)
So what is the problem
it is correct that byte limit is -128 to 127 , but the + operator in
b2=b1+1 is your problem, it works with int values
to get around it, just typecast the result into byte before assignment.
Remember here since you are might lose precision, you need an explicit cast
so you don't blame the compiler after implicit cast.
Hope this helps
