jQuery in Action, 2nd edition*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Binary to Decimal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Binary to Decimal" Watch "Binary to Decimal" New topic

Binary to Decimal

Ira Jain
Ranch Hand

Joined: Sep 06, 2000
Posts: 70
I always get confused doing these type of questions and end up getting them wrong.Would somebody teach me how to do this conversion or direct me to some link which does the same?
Thanks in Advance
Stephen Pride
Ranch Hand

Joined: Sep 14, 2000
Posts: 121
Are you talking about left/right shift operations
(i.e., int j = -4, k = 3; j >>= k;)?

Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Ira,
Here's a link to some notes I made to help me with the conversions Working with Binary, Hexadecimal and Octal numbers
Hope they help.

Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
Ira Jain
Ranch Hand

Joined: Sep 06, 2000
Posts: 70
Thanks a lot Jane for sending in the notes .They really explain the concept in a very simple manner.
Thanks a lot
I agree. Here's the link: http://aspose.com/file-tools
subject: Binary to Decimal
Similar Threads
A Challenge!
Google India CodeJam
acronym atrocity
13 Nov Riddle
How many Brits and Europeans on this board?