Search:

Type: Posts; User: tonie

Search: Search took 0.06 seconds.

  1. Re: [HELP] java.lang.ArrayIndexOutOfBoundsException

    I was in bed but got out because I checked this post on my phone. I'm so happy that you helped me solve this problem suftman. THANK YOU!
  2. Re: [HELP] java.lang.ArrayIndexOutOfBoundsException

    Thank you! Ok, so I ran it and it matches the first line of what i have in the text file which is 8 slot. I still don't understand why it doesn't run?

    This is what I have in the txt file.

    Edit:...
  3. Re: [HELP] java.lang.ArrayIndexOutOfBoundsException

    I thought it was something like that, but I don't understand because I have this in the text file and it has 8 strings and 1 int. But this is what I got in the text file.



    I'm sorry, but I...
  4. [HELP] java.lang.ArrayIndexOutOfBoundsException

    Hi, my file compiles just fine but it gave me this error when i executed it. I'm suspecting it has to do with my tokenizer but I can't solve it.


    Exception in thread "main"...
  5. Replies
    8
    Views
    298

    Re: What's the logic behind this code?

    LOL... I do. I was doing it on paper, but I decided to do it on excel because I needed to copy and paste it here.
  6. Replies
    8
    Views
    298

    Re: What's the logic behind this code?

    Thank you for confirming my answer, Jos. Very much appreciated.
  7. Replies
    8
    Views
    298

    Re: What's the logic behind this code?

    Didn't read the above but this is what I got in excel when I typed it out. I hope it's right.

    Pro = 1 * 1 = 1-----I = 1 + 1 = 2
    Pro = 1 * 2 = 2-----I = 2 + 1 = 3
    Pro = 2 * 3 = 6-----I = 3 + 1 =...
  8. Replies
    8
    Views
    298

    Re: What's the logic behind this code?

    I just know it's 1*2*3*4, but I don't know how to interpret it or explain it.
  9. Replies
    8
    Views
    298

    What's the logic behind this code?

    I know how to write this code but don't understand the logic how it comes to "Product = 24". Would greatly appreciate it if someone could write out the steps.




    int product = 1;
    int i = 1;...
  10. Replies
    13
    Views
    351

    Re: Please help...Stuck on first project.

    superhands!!! Thank you so much! I finally got it with your help and I've learned so much from this! :-)

    BTW, how do I post code in CODE tags?
  11. Replies
    13
    Views
    351

    Re: Please help...Stuck on first project.

    What's wrong with this?
  12. Replies
    13
    Views
    351

    Re: Please help...Stuck on first project.

    thanks superhands! I got it how I want it to display. Now I just don't know how to sub in the names with the input names. I tried to remove the quotes, but it gave me error. I would appreciate any...
  13. Replies
    13
    Views
    351

    Re: Please help...Stuck on first project.

    I apologize, I forgot to include the errors.
  14. Replies
    13
    Views
    351

    Re: Please help...Stuck on first project.

    Ok, so I got this far. How do I input the names and how can I get the show message to display the proper message? Please let me know. Thanks

    Edit: I edited the "message" and now I'm getting...
  15. Replies
    13
    Views
    351

    Re: Please help...Stuck on first project.

    When everything is done, a dialog box should display the following format:



    I need to use separate dialog boxes for each input.
    This is only my second class so I'm pretty much lost.
    Please...
  16. Replies
    13
    Views
    351

    [solved] Please help...Stuck on first project.

    Hi, I'm currently taking my first Java class right now and I have a project due by next week. I need to write a script using JOptionPane to prompt user for their name (last, first name) and age (#)...
Results 1 to 16 of 16