I am trying to create an array list. For some reason, it won't compile. Here's the code, can anyone see why it would be doing this? Thanks.
import java.util.*;
ArrayList previous = new ArrayList(); ------not a statement
2007-01-17
05:29:28
·
1 answers
·
asked by
snoboarder2k6
3
in
Computers & Internet
➔ Programming & Design
ok, heres the general structure-I cut out some stuff that doesn't affect it because the code is almost 1000 lines long.
public class BillingCheck{
public BillingCheck() throws IOException{
boolean equals = false;
........
...................
if(equals == false){
ArrayList previous = new ArrayList();
}
thats everything that could possibly affect that line of code...
2007-01-17
05:46:54 ·
update #1
Oh, and I did have it as Java.util.ArrayList.*;
even though it really shouldn't make a difference
2007-01-17
05:51:43 ·
update #2