Welcome to the Treehouse Community
Looking to learn something new?
Isam Al-Abbasi2,058 Points
Why am I getting this error please?
I'm trying to test out the isEmpty method in the repl by creating new dispenser but I keep getting this error:
java> :load PezDispenser.java loaded source file from PezDispenser.java java> PezDispenser pd = new PezDispenser("Yoda"); java.util.NoSuchElementException java>