Need help with "actual and formal arguments lists differ in length".
I am getting an error when I try to run my Workplace. I have tried googling this and I can't figure out where I have went wrong. I keep getting "actual and formal arguments lists differ in length".Any help would be greatly appreciated! Thank you!
Polina YantsenPro Student 9,169 Points
You wrote "println" instead of "printf". Your code should be like the following:
System.out.printf("Fun Fact! There are %d PEZ allowed in every dispenser.%n", PezDispenser.MAX_PEZ);