Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conversion of binary to Hex and Octal State

 
Shiraz Bhagwagar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does one convert from decimal to hexadecimal/octal. I know about converting from decimal to binary.
Also how do you deal with the bitwise operators in a simple manner. Exam questions contain long iterations which are time consuming. Any shortcuts
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shiraz,
I've got some notes on Binary/Octal/Decimal/Hex conversions at http://www.janeg.ca/scjp/oper/binhex.html
Hope they help.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic