sorry, does
ArrayList<Integer> numbers = new ArrayList<Integer>();
replace
int frequency [] = new int[12];
?
Type: Posts; User: qsbladey
sorry, does
ArrayList<Integer> numbers = new ArrayList<Integer>();
replace
int frequency [] = new int[12];
?
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
{
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...