wood burning stoves 2.0*
The moose likes Java in General and the fly likes Method to translate to hex, binary and octal 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 » Java » Java in General
Bookmark "Method to translate to hex, binary and octal" Watch "Method to translate to hex, binary and octal" New topic
Author

Method to translate to hex, binary and octal

ahmad mohmmad
Greenhorn

Joined: Dec 01, 2012
Posts: 3
hello everybody
i want someone to help me with this..and please re-write it with the correct answer
(Writing a method that reads 4 digits and translate to hex ,binary and octal )

Server :


Client :
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

Please use code tags and have proper indentation when posting code in the forums. I have added the code tags here. And please use a meaningful subject for your topics.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11153
    
  16

ahmad mohmmad wrote:hello everybody
i want someone to help me with this..and please re-write it with the correct answer
(Writing a method that reads 4 digits and translate to hex ,binary and octal )

Please read these three articles. They should clear up a few things.

Once you have done that, come back and post any questions you may have.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Method to translate to hex, binary and octal
 
Similar Threads
doubt in a program of convert decimal to Hexadecimal-please clarify
Do while error, I'm going crazy
return type of TreeMap
Not able to understand error
From a given string of numeric values, print the individual numbers in words separated by space.