So I'm writing some code that reads from a file:
array[k] = Salesperson(infile.nextInt(), infile.nextInt(), myName);
I wrote a constructor for Salesperson that looks somewhat likes this:
public Salesperson(int cheese, int butter, String name)
When I try to compile (first Salesperson, then the actual program), I get this:
program.java:39: cannot find symbol
symbol : method Salesperson(int,int,java.lang.String)