I apparently can't figure out what I am doing wrong....I have been reading all day and googling help but it hasn't helped. Here's what I have...
public static void main(String[] args) {
ArrayList<Animal> animalCensus = new ArrayList<Animal>();
Scanner input = new Scanner(System.in);
//int uniqAnimal = 0;
//String animalName;
String endList;
for ( int x = 0; x < animalCensus.size(); x++)
{
System.out.println("What animal did you see? When done, please type quit.");
String animalName = input.toString();
animalCensus.add(new Animal());
endList = input.next();
if (endList.equalsIgnoreCase("quit"))
{
System.out.println(animalCensus);
}
}