Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Question Regarding Integer's toBinaryString method

807601Feb 17 2008 — edited Feb 17 2008
I'd like to ask why Java adds 2^32 to the int argument you'd like to convert into a binary string.What's the binary representation Java uses for integers? Advanced thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2008
Added on Feb 17 2008
7 comments
603 views