Java

Harshavardhan Gangavarapu
Harshavardhan Gangavarapu
9,106 Points

Cannot find the error

Example.java:7: error: cannot find symbol
System.out.printf("FUN FACT: There are %d pez allowed in e very dispenser%n", PezDispnser.MAX_PEZ);

System.out.printf("FUN FACT: There are %d pez allowed in every dispenser%n", PezDispnser.MAX_PEZ);


Showing error in the above line. I cannot find the error. Please help me out

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 47,377 Points

Are you sure it's PezDispnser and not PezDispenser?