I cannot get the code to run as expected.
I found the error! I forgot a space in the first line between class and PezDispenser on the PezDispenser.java.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.