GeeCON Prague 2014*
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


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: 3833

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: 11351
    
  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
 
GeeCON Prague 2014
 
subject: Method to translate to hex, binary and octal