Results 1 to 3 of 3

Thread: Int to String

  1. #1
    littlebirdpoo is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Int to String

    Hi guys,

    working on a program that involves a part where I have to store integer values into an ArrayList.
    Is there anyway like classes for me to convert them into String values so that I can use string class methods on them?

    Thanks

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,436
    Blog Entries
    7
    Rep Power
    20

    Default Re: Int to String

    Quote Originally Posted by littlebirdpoo View Post
    working on a program that involves a part where I have to store integer values into an ArrayList.
    Is there anyway like classes for me to convert them into String values so that I can use string class methods on them?
    Sure there is; read the API documentation of the String class and see for yourself.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    stchman's Avatar
    stchman is offline Member
    Join Date
    Apr 2011
    Location
    Saint Louis, Missouri
    Posts
    97
    Rep Power
    0

    Default Re: Int to String

    If you want to convert an integer to a String, look in either the Integer or String class.
    If you aren't programming in Java, well that's just too bad.
    I'd rather be using Ubuntu.

Similar Threads

  1. Replies: 1
    Last Post: 12-15-2011, 12:39 PM
  2. Replies: 11
    Last Post: 08-15-2011, 10:12 AM
  3. Replies: 12
    Last Post: 11-26-2010, 08:33 AM
  4. Replies: 1
    Last Post: 11-04-2010, 06:53 PM
  5. Replies: 5
    Last Post: 01-11-2009, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •