GeeCON Prague 2014*
The moose likes Java in General and the fly likes check the output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "check the output " Watch "check the output " New topic
Author

check the output

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270




output is -45679 how ???


No Kaustubh No Fun, Know Kaustubh Know Fun..
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Do you know what 2's complement is? (If not, look it up on Wikipedia.)
Do you know what ~ does?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

thanks I got the answer
 
GeeCON Prague 2014
 
subject: check the output