wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 19675
    
  18

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
 
jQuery in Action, 2nd edition
 
subject: check the output