QUOTE(he4dhuntr @ 14 Oct, 2008 - 02:08 PM)

I figured out the problem. I had the assignment outside of any method, just free floating in the body of the class. I fixed it by moving the code, but now I get a new error: "cannot find symbol - constructor FlowerCounterArrays(java.lang.String,double)"
As the error message says, your class FlowerCounterArrays does not have a constructor.
FlowerCountersArray has:
- a method named: addOrder
- a method named: printTotal
but no constructor and you call 5 times the constructor:
newFlower[0] = new FlowerCounterArrays("petunia", 0.50);
newFlower[1] = new FlowerCounterArrays("pansy", 0.75);
newFlower[2] = new FlowerCounterArrays("rose", 1.50);
newFlower[3] = new FlowerCounterArrays("violet", 0.50);
newFlower[4] = new FlowerCounterArrays("carnation", 0.80);
that expects a String as first parameter and a double as second parameter