Search:

Type: Posts; User: LoganC

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,050

    Re: Returning An Array

    For example,
    scores[3] = Integer.parseInt(strLine); ? I am not receiving an error on that but i want to return all of the scores and not just one of them

    --- Update ---

    Hmm wait, i think i...
  2. Replies
    5
    Views
    1,050

    Re: Returning An Array

    Hmm I think I understand, but now I am getting an error saying ';' expected and return scores; is not a statement.


    public static int[] processFile (int[] scores) throws IOException,...
  3. Replies
    5
    Views
    1,050

    Returning An Array

    Hello I am trying to sort a list of numbers on seperate files from a text document in C:/Scores.txt. First off in processFile I am trying to return the numbers located in the file as an array. I am...
Results 1 to 3 of 3