This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Conversion of binary to Hex and Octal State Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Conversion of binary to Hex and Octal State" Watch "Conversion of binary to Hex and Octal State" New topic
Author

Conversion of binary to Hex and Octal State

Shiraz Bhagwagar
Greenhorn

Joined: Mar 28, 2001
Posts: 27
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

Joined: Aug 30, 2000
Posts: 3141
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


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conversion of binary to Hex and Octal State
 
Similar Threads
Hex and Octal
do java Api provide methods to convert number from binary to decimal or HEXA ,Octal
int length=343 is 343 an integer literal or decimal literal???
Octal
decimal ->octal & decimal ->hexadecimal