Search:

Type: Posts; User: qsbladey

Search: Search took 1.26 seconds.

  1. Replies
    4
    Views
    1,189

    Re: max length of an array?

    sorry, does

    ArrayList<Integer> numbers = new ArrayList<Integer>();
    replace

    int frequency [] = new int[12];
    ?
  2. Replies
    4
    Views
    1,189

    Re: max length of an array?

    Not sure if i need to, but here is all my code so far


    import java.io.*;
    import java.util.*;

    class analyze1_2
    {
    public static void main(String[] args) throws IOException
    {
  3. Replies
    4
    Views
    1,189

    max length of an array?

    I have a program that ready a file, and displays the fewuency of a length of a word, however, do to this i have used an array which specifies the max length as seen here:


    int frequency [] = new...
Results 1 to 3 of 3