View RSS Feed

tonie

  1. [HELP] java.lang.ArrayIndexOutOf BoundsException

    by , 10-18-2013 at 10:58 AM
    Quote Originally Posted by SurfMan View Post
    Quote Originally Posted by tonie View Post
    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 don't know how to do SOP variable to check. I would appreciate if you could show me how.
    Java Code:
    while(input.hasNext()) {
        word = input.nextLine();
        System.out.println("The line is " + word);
        tokenArray = word.split(";");
    ...
    Categories
    Uncategorized