This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Okay, below is a piece of code from my current program. I have created 2 scanners. The first scanner opens the customer.txt file, reads a line, and then passes that line to my second scanner. My second scanner is going to parse the lines by using a comma as the dilimeter and only accept lines with the three things i want (last name, first name, and email address). When I find a line with the three things i want and no more, i want to then create a Customer object from my Customer class so that I can insert it in an arraylist. But when I try to compile the code below, it gives me an error and tells me that: Customer C1 = new Customer(lastName, firstName, email) is not a statement? What do I need to do? Thanks for the help in advance!