Hi there,
Please see my code and its output.
Can you tell me how binary is represented in
Java.
My understanding is, in byte, binary is represented as "1111"
ie. 1111 = -1
where as java prints "-1" for -1
and for -7 it prints "-111".
~/rd/java/binary % java URShift
-7: -111
-1: -1
Thnaks for your help.
siva