Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.07 seconds.

  1. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    If you want to provide a link to a specific class or function, I'd recommend using your browser's "open in new tab" or "copy link location" feature with that class or method. Then you'll get...
  2. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    I'm not really sure what you're asking. That just links to the main part of the API. The column on the left provides links to all of the java packages and classes.

    Are you talking about a specific...
  3. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    Well, Long is yet another class in the API, but that still doesn't explain where you got the double requirement. Double is another class (these are all primitive wrapper classes).
  4. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    I'm not sure what your question is. Integer.toHexString() takes an int and returns a String. Where do you see that a double is required?
  5. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    From wikipedia: J2SE 5.0 entered its end-of-life on April 8, 2008 and is no longer supported by Sun as of November 3, 2009.

    The most recent version is Java SE 6 Update 24.

    Your book won't...
  6. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    Did you look at the API? That method doesn't change the int you pass into it (it actually can't do that for multiple reasons). Instead, that method returns a String. Store that String and print that...
  7. Replies
    16
    Views
    2,974

    Re: char.toHexString();

    Because toHexString() is a static method of the Integer class, not of the Character class. Check out the API.

    It's sort of similar to why you can do Character.toUpperCase(int) but not...
Results 1 to 7 of 7