Results 1 to 2 of 2
  1. #1
    mlibot is offline Member
    Join Date
    Sep 2009
    Rep Power

    Default It is possible in Strings..?

    I have a declaration of Strings:
    Java Code:
    String[] tempString = String[7];
    tempString[0] = new String("asdf");
    tempString[1] = new String("asdf1");
    tempString[2] = new String("asdf2");
    tempString[3] = new String("asdf3");
    tempString[4] = new String("asdf4");
    tempString[5] = new String("asdf5");
    tempString[6] = new String("asdf6");
    and nothing's wrong with that, but in I'm trying to run in commandline i have'nt got any error but the string is still thesame although i already change it when running in commandline..

    im trying to do this:

    when running in commandline i want to display in commandline instead of "asdf" in tempString[0] i want to display is another string like "me" for example:

    for example instead of "asdf1" in tempString[1] is another string to display like "hello"
    so on and so forth...

    is it possible.?

    any help..? please help me out with this..!!

    thanks in advance...

  2. #2
    collin389 is offline Senior Member
    Join Date
    Nov 2009
    Rep Power

Similar Threads

  1. Subtracting Strings
    By ravian in forum New To Java
    Replies: 7
    Last Post: 10-08-2009, 06:26 PM
  2. Random Strings help!
    By hhale in forum New To Java
    Replies: 5
    Last Post: 09-23-2009, 12:57 PM
  3. Strings and delimeters
    By Manfizy in forum New To Java
    Replies: 12
    Last Post: 06-09-2009, 07:51 AM
  4. comparing strings
    By diggitydoggz in forum New To Java
    Replies: 7
    Last Post: 12-23-2008, 04:40 AM
  5. Comparing Strings
    By souFrag in forum Advanced Java
    Replies: 5
    Last Post: 05-21-2008, 09:03 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