how can i resize my array if my data type is String?

Discussion in 'Java' started by jenny_luarez, Aug 4, 2009.

  1. jenny_luarez

    jenny_luarez

    Joined:
    Aug 3, 2009
    Messages:
    3
    please can someone help me, how can i resize my array if my data type is String?

    this is some piece of the code:
    while(collisionchecker()) // while the method "collisionChecker" returns true
    {
    arraysize = arraysize*2; // the arraysize is doubled..
    //then change the size of the array to the new arraysize which is doubled
    }


    please help me...:love:
     
    jenny_luarez, Aug 4, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hessam
    Replies:
    0
    Views:
    2,183
    Hessam
    Aug 8, 2003
  2. luna
    Replies:
    1
    Views:
    6,822
  3. webonomic
    Replies:
    2
    Views:
    496
    webonomic
    Jan 26, 2006
  4. tvn007@hotmail.com

    Convert string data type to char type ?

    tvn007@hotmail.com, Oct 20, 2005, in forum: C++
    Replies:
    6
    Views:
    958
    Greg Comeau
    Oct 20, 2005
  5. rams.kakara@gmail.com
    Replies:
    2
    Views:
    1,266
    Adrienne
    Feb 13, 2005
Loading...

Share This Page