Code Question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Code Question

  1. #1
    Join Date
    Sep 2003
    Posts
    1

    Code Question

    I am having trouble trying to figure out how to code for decimal to hexidecimal and visa versa. I need it for an applet that I am building. Also I have a question on three error messages I keep recieveing on another program I am writing, the errror messages pertain to the variables not being declared when they are and also that my IOException is not stated or defined which it is. I am confused!!

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    Firstly, if you have two different problems, start two different threads.

    Secondly, if Java says that you haven't declared a variable, then you haven't declared a variable. If Java says that you haven't declared that a method throws an IOException, then you haven't declared that a method throws an IOException. Post your code (on a new thread) and we'll show you what you're overlooking.

    With regards to hexidecimal conversion, it's all built into Java, in (amongst others) the Integer class:

    http://java.sun.com/j2se/1.3/docs/ap...g/Integer.html
    ArchAngel.
    O:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center