I see you've commented out your main() method, which I assume is what you used to
test the class. Explain what's going on there.
Also, the same main() method instantiates a Juggler object, jug, using the constructor Juggler(). You don't have a Juggler object defined or a constructor Juggler(). Are you sure you copied it directly from the book example? It doesn't make sense. Class names are capitalized by convention, which makes me think you've modified the book code, OR the book is non-standard.